[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] Something in 2.6.4 broke my windows
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] Something in 2.6.4 broke my windows |
Date: |
Fri, 08 Jul 2016 01:33:21 +0200 (CEST) |
>> Just grep'ed through /etc/fonts/conf.d/* , fontconfig allows one to
>> switching hinting on/off per font, as well as disabling the use of
>> embedded bitmaps, again, per font.
>
> I think you have a fundamental misunderstanding of how fontconfig
> works. This library is only used to find a best matching font for a
> given set of constraints. Essentially, it returns a string that holds
> a font's file name, together with auxiliary information the
> application might find useful. However, it is the application's job
> then to process this font name with a call to `FT_Open_Face'! In
> other words, fontconfig has *zero* control how the application loads
> the font. It just provides a suggestion, nothing more.
>
> The `switch hinting on/off' configuration and similar parameters in
> fontconfig influence the auxiliary information returned together with
> the matching font, nothing more. Again, it's the application's job to
> adhere to this data while calling `FT_Open_Face'.
And even more important: It's also the application's job to call
`FT_Init_FreeType' to get a proper `FT_Library' object, and fontconfig
doesn't provide any hints how to control FreeType modules.
Werner