Hi Keith, I''ve done as you wrote but it doesn''t work. I use CVS version of fontconfig that anounces itself as 2.2.90. I put <selectfont>... at the beginning of fonts.conf, then to the end in vain. Then I looked in the source code (I do not understand it fully) and method FcParseAcceptRejectFont doesn''t seem to reject the filename of the font. What am I doing wrong? Regards, Ing. Jozef Sakalos jsakalos@ba.success.sk On Sunday 31 August 2003 22:40, Keith Packard wrote:> 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 > > > > _______________________________________________ > Fontconfig mailing list > Fontconfig@fontconfig.org > http://mail.fontconfig.org/mailman/listinfo/fontconfig
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
Hi there, 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. The only way how to get rid of them is to remove them from /etc/X11/ XF86Config but this is not what I want as legacy applications the don''t have them. I''ve read fontconfig FAQ where is a solution for this but it doesn''t work for me. I attach fonts.conf and local.conf files. Would you please look in them and let me know what''s wrong? fonts.conf is as generated by KDE Font Installer. Thanks, Ing. Jozef Sakalos jsakalos@ba.success.sk -------------- next part -------------- A non-text attachment was scrubbed... Name: fonts.conf Type: text/xml Size: 13628 bytes Desc: not available Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20030831/c6ba6483/fonts.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: local.conf Type: text/xml Size: 1424 bytes Desc: not available Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20030831/c6ba6483/local.bin
Hi Keith, I found the problem. It''s not the fontconfig problem, it''s QT problem. QT logic is to check first system fonts and THEN ask fontconfig to get the font. If an application asks for Helvetica QT returns bitmapped font before asking fontconfig. I don''t like it at all... Maybe I''ll send you a QT patch. Best regards, Ing. Jozef Sakalos jsakalos@ba.success.sk On Monday 01 September 2003 00:40, Ing. Jozef Sakalos wrote:> Hi Keith, > > I''ve done as you wrote but it doesn''t work. I use CVS version of > fontconfig that anounces itself as 2.2.90. >> > 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