[Fontconfig] Can't select Fixed 7x13 in Qt after fontconfig a57f22bf ("Fix a typo")

Akira TAGOH akira at tagoh.org
Mon Sep 30 11:21:16 UTC 2019


On Sat, Sep 28, 2019 at 12:50 PM Vladimir Panteleev
<git at vladimir.panteleev.md> wrote:
>
> Hi Akira,
>
> Thank you for all your work on fontconfig.
>
> I noticed that after a recent system update, I am no longer able to
> use my favorite font in Qt applications.
>
> Before commit a57f22bf6d93ad4079a6ae01fa00456921dc73e1, I can select
> the standard X11 bitmap font Fixed 7x13 in Qt applications, such as
> KVirc, by setting "Font" to "Fixed [Misc]", "Font style" to "Regular",
> and "Size" to 10.

Hmm, that's strange. I'm rather surprised it was working until then.
the change of the trigger should be happened earlier than it. I'm not
sure who deals with "Fixed [Misc]" thing though, that just looks like
they missed an alias of it to "Fixed" because it is now "Misc Fixed"
on freetype built with PCF_CONFIG_OPTION_LONG_FAMILY_NAMES. I think
you can see "Misc Fixed" on the font list. that is correct family
name. that's not a bug.
If you like the previous behavior, you just need to build freetype
without that option.

>
> Here is what the font selection dialog looks like before
> a57f22bf6d93ad4079a6ae01fa00456921dc73e1:
> https://dump.v.panteleev.md/4568c33a5f0207065cb2fd1b5987c722/03%3A34%3A47-upload.png
>
> After commit a57f22bf6d93ad4079a6ae01fa00456921dc73e1, I haven't found
> a way to do so.
>
> Here is what the font selection dialog looks like after
> a57f22bf6d93ad4079a6ae01fa00456921dc73e1:
> https://dump.v.panteleev.md/3f4c7c166f56e755334b09ae4fe64214/03%3A35%3A40-upload.png
>
> I should add that I have been using
> FREETYPE_PROPERTIES="pcf:no-long-family-names=1", as without it, I
> have similarly failed to find a way to configure Qt applications to
> use that font.
>
> Any advice would be appreciated. Thank you.



-- 
Akira TAGOH


More information about the Fontconfig mailing list