[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Anti-aliased fonts in KDE 2.2.1: ``Adobe" fonts not available when anti-aliasing enabled



On Wed, Oct 10, 2001 at 02:42:58PM -0400, Bruce Miller wrote:

> I have upgraded Libranet Linux 1.9.1 from potato to woody and added KDE
> 2.2.1 from sid. These upgrades install XFree 4.1.0.
> I immediately began to experience font problems. In trying to track them
> down, I updated a number of xfonts, gsfonts, gsfonts-x11 packages.
> Everything appears to be working now, except that, when anti-aliasing ..
> ..ttom line for the moment: one can have anti-aliasing or the 35
> ``standard Adobe fonts" but not both. Is there a way to have one's font
> cake and eat it too?
 
You have to tell XFree86 which fonts to substitute for the (non-truetype)
Helvetica etc. fonts. This is done in XftConfig. You can e.g. set 

---------------------------------------------------------------------------
match any family == "fixed"		edit family =+ "mono";

#Use Lucidux fonts for default faces
match any family == "serif"		edit family += "LuciduxSerif";
match any family == "sans"		edit family += "LuciduxSans";
match any family == "mono"		edit family += "LuciduxMono";

#Alias between XLFD families and font file family name, prefer local
#fonts

match any family == "charter"		edit family += "bitstream charter";
match any family == "bitstream charter" edit family =+ "charter";

match any family == "Lucidux Serif"	edit family += "LuciduxSerif";
match any family == "LuciduxSerif"	edit family =+ "Lucidux Serif";

match any family == "Lucidux Sans"	edit family += "LuciduxSans";
match any family == "LuciduxSans"	edit family =+ "Lucidux Sans";

match any family == "Lucidux Mono"	edit family += "LuciduxMono";
match any family == "LuciduxMono"	edit family =+ "Lucidux Mono";
---------------------------------------------------------------------------

something like this in your /etc/X11/XftConfig.

I have set my default font to Verdana (even without antialiasing ;) so I
don't have that problem any more. ;)


-- 
Jens Benecke ········ http://www.hitchhikers.de/ - Europas Mitfahrzentrale

Crypto regulations will only hinder criminals who obey the law.

Attachment: pgpc_Qf_i2Gzm.pgp
Description: PGP signature


Reply to: