> Do you know what font the installer is requesting? If so, can you send
> along the output of
> 
> $ fc-match --sort <font-name>

Thanks for the pointer Keith. Here is what seems to be happening.

We currently have as default font in /etc/gtk-2.0/gtkrc:
gtk-font-name="DejaVu 9"

$ fc-match --sort DejaVu
KhmerOSsys.ttf: "Khmer OS System" "Regular"
ja.ttf: "Sazanami Gothic" "Gothic-Regular"
DejaVuSans.ttf: "DejaVu Sans" "Book"
[...]

So, our config was wrong. It should be:
gtk-font-name="DejaVu Sans 9"
And indeed, after changing the config to that, the display is pretty 
again :-)

However, it seems that the more extensive /etc/fonts/fonts.conf previously 
shipped with fontconfig somehow did the right thing even with the old 
config.

Possibly (but I'm guessing here) thanks to the combination of these two 
snippets from Davide's diff for fonts.conf:

<snip>
-<!--
-  If the font still has no generic name, add sans-serif
- -->
-       <match target="pattern">
-               <test qual="all" name="family" compare="not_eq">
-                       <string>sans-serif</string>
-               </test>
-               <test qual="all" name="family" compare="not_eq">
-                       <string>serif</string>
-               </test>
-               <test qual="all" name="family" compare="not_eq">
-                       <string>monospace</string>
-               </test>
-               <edit name="family" mode="append_last">
-                       <string>sans-serif</string>
-               </edit>
-       </match>
</snip>
<snip>
-<!--
-  Provide required aliases for standard names
--->
-       <alias>
-               <family>serif</family>
-               <prefer>
[...]
-               </prefer>
-       </alias>
-       <alias>
-               <family>sans-serif</family>
-               <prefer>
-                       <family>Bitstream Vera Sans</family>
-                       <family>DejaVu Sans</family>
-                       <family>Verdana</family>
-                       <family>Arial</family>
</snip>

I guess it is up to you if the change in the config file is desired or 
not. With your help we now at least know how to solve the issue on our 
side and I will do so immediately.

Feel free to close the report if you think the new "slimmed down" 
fonts.conf is correct.

Cheers,
FJP

P.S. Thanks for your excellent responsiveness to our reports! From the 
look of it fontconfig is not the easiest package to maintain.

Attachment: pgpGJ1nbtazrG.pgp
Description: PGP signature

Reply via email to