Acrobat Reader 8 for Linux: how to make dialog fonts look good
24 November 2007
Acrobat Reader 8.1.1 for Linux installed on my Fedora 8 displays some dialogs with ugly fonts. For example Preferences dialog (invoked via Ctrl+K shortcut). I asked why in Adobe newsgroup and got a reply that this is because of default system fonts are not OK on my box. This seemed strange because not all dialogs of the Acrobat Reader look bad. Digging into the code of the application shows that some dialogs use explicitly specified font sans 10:
...
push offset aSans10_0 ; "sans 10"
call _pango_font_description_from_string
...
|
|
Sans font indeed looks bad in my Fedora installation so the solution is to put the following local.conf file into /etc/fonts directory to replace the sans and sans-serif fonts with good ones:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Verdana</family>
</prefer>
</alias>
<alias>
<family>serif</family>
<prefer>
<family>Times New Roman</family>
</prefer>
</alias>
</fontconfig>
|
|
Here I assume that Microsoft fonts Verdana and Times New Roman are already installed in the system. Last thing is to restart the X server.
Of course it would be nice to have Acrobat Reader NOT enforcing specific font type (sans) and size.
|