Re: [dev] freetype2/fc pain

From: Hadrien Lacour <>
Date: Mon, 24 Sep 2018 18:28:16 +0200

On Mon, Sep 24, 2018 at 04:08:17PM +0000, wrote:
> On Mon, Sep 24, 2018 at 05:44:40PM +0200, Hadrien Lacour wrote:
> > Of course, the range:font mapping is more granular, but I find it a little bit
> > more complex to configure than this type of fallback.
> It does as some asian fonts do contain some latin glyphs. You have to specify
> the unicode range, or to be sure the x11 font names have orthogonal encoding fields.
> To prepare such font list, you may have to split font files per
> encoding/unicode range, something like that.
> --
> Sylvain

Then you put your latin font first, since those usually don't contain CJK
characters. The only case where it could gives problems is if you don't want
fallback but really a merger of your fonts: e.g. using Terminus but wanting a
different font for cyrilic.

But yeah, I'm in favor of the range scheme, since it solves more problems and
may make the implementation cleaner. If there are alphabet aliases or comments
concerning common ranges in the config file, it should be pretty easy to use.
Received on Mon Sep 24 2018 - 18:28:16 CEST

This archive was generated by hypermail 2.3.0 : Mon Sep 24 2018 - 18:36:07 CEST