Comment 44 for bug 105900

Revision history for this message
In , Pgajdos-novell (pgajdos-novell) wrote :

I have looked on these fonts a bit, and it seems to me that font-config is ignoring (order of) style languages, e. g.:

czabas> rpm -qf /usr/share/fonts/truetype/timesbd.ttf
file /usr/share/fonts/truetype/timesbd.ttf is not owned by any package
czabas> fc-query timesbd.ttf | grep style:
 style: "Negreta"(s) "tučné"(s) "fed"(s) "Fett"(s) "Έντονα"(s) "Bold"(s).. czabas> fc-query timesbd.ttf | grep stylelang;
 stylelang: "ca"(s) "cs"(s) "da"(s) "de"(s) "el"(s) "en"(s) ...
czabas> fc-match "Times New Roman:Bold"
timesbd.ttf: "Times New Roman" "Negreta"

but for example

czabas> rpm -qf /usr/share/fonts/truetype/luximb.ttf
xorg-x11-fonts-7.4-6.3.noarch
czabas> fc-query luximb.ttf | grep style:
 style: "Bold"(s)
czabas> fc-query luximb.ttf | grep stylelang:
 stylelang: "en"(s)
czabas> fc-match "Luxi Mono:bold"
luximb.ttf: "Luxi Mono" "Bold"

When I remove all languages lexicographicaly en from timesbd.ttf, I get good results.

The same behaviour I got when I run LANG=cs_CZ oowriter.