[Fontconfig] How to get rid of bitmapped fonts?

Keith Packard keithp at keithp.com
Sun Aug 31 14:40:57 PDT 2003


Around 21 o'clock on Aug 31, "Ing. Jozef Sakalos" wrote:

> I use KDE 3.1.3, fontconfig 2.1.2, qt 3.2.1 and my problem is that 
> when there is a reference to helvetica on a web page konqueror 
> displays bitmapped font.

Newer fontconfig bits (in CVS) have the ability to exclude fonts based on 
filename.  I'd like to add the ability to exclude them based on 
properties, perhaps I can manage that before fontconfig 2.3 is released.

Using the filename based exclusion, you can eliminate pcf and bdf fonts 
from consideration:

<!-- reject bitmap fonts -->

<selectfont>
  <rejectfont>
    <glob>/usr/X11R6/lib/X11/fonts/misc*</glob>
    <glob>*.pcf*</glob>
    <glob>*.bdf*</glob>
  </rejectfont>
</selectfont>

-keith





More information about the Fontconfig mailing list