Re: [dev] antialiased fonts in st

From: Christoph Lohmann <20h_AT_r-36.net>
Date: Sat, 06 Oct 2012 17:06:45 +0200

Hello.

On Sat, 06 Oct 2012 17:06:45 +0200 "Peter A. Shevtsov" <petr.shevtsov_AT_gmail.com> wrote:
> Hello.
>
> On 05/10/12 at 10:48am, pancake wrote:
> > I'm suggesting this change because truetyped fonts with antialias are hard
> > to read, probably less than transparent terminals.
> >
> > -#define FONT "Liberation Mono:pixelsize=12:antialias=true:autohint=false"
> > +#define FONT "Liberation Mono:pixelsize=12:antialias=false:autohint=false"
> >
>
> I've played with various font settings in config.h and there were no difference in how
> fonts look, neither I set antialiasing true nor false. Then I decided to change
> system/user fontconfig antialiasing settings and those changes made st display fonts
> differently. So, I propose the following pull request where st uses system/user fontconfig
> settings.
>
> Or am I missing something?

The config.def.h is a recommendation, for how st could look good on an
average system – or less precisely the system I am using. The least mini‐
mal configuration would be to just use »Mono«, which will select some
kind of mono font, some pixelsize. But things will look ugly on
first start, which will scare about the intermediate users suckmore
could at‐ tract and later convert to full believers. Having the less
than one option in that font string allows the non‐experienced users to
grasp how the font format should be.

Sadly, I haven’t found a way to to overwrite the global settings in
fontconfig for just an application. So the needed antialiasing in Fire‐
fox (The web looks ugly without!) will automatically overwrite the st
settings, where using non‐antialiasing will create less readable output
with small monotabd text. Maybe that’s a topic which will come up when
X11 is moving things forward.


Sincerely,

Christoph Lohmann
Received on Sat Oct 06 2012 - 17:06:45 CEST

This archive was generated by hypermail 2.3.0 : Sat Oct 06 2012 - 17:24:02 CEST