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

Re: Konsole & AA fonts



On Friday 02 March 2001 17:58, tnvander@chello.nl wrote:
>
> Well it was totally unuseable for me until I tweaked the XftConfig file. I
> also installed an extra font, monotype.ttf. I'm not sure if my XftConfig
> will make things work now without that font; since I don't have an
> AA-enabled konsole anymore I can't experiment with it :-)
>
> The problem is not specifically with konsole though, the Font settings
> panel in the kontrol center has the same problem with it's fixed-width font
> as konsole. So I think it's something in the way in which KDE or QT ask for
> their fixed width fonts that make them not see all those Couriers and
> others.
>
> Anyways, this is my XftConfig file, cobbled together from bits, not that I
> really understand what it exactly means :-) I'm curious if any of those
> settings will cure the problems with konsole without having the
> monotype.ttf font present. But to try it, I'd have to interrupt this e-mail
> and log out <grin>
>
> Remove fontdirs that don't apply to your setup. Much luck with it!
>
> --Tim
>
> #$XFree86$
>
> dir "/usr/X11R6/lib/X11/fonts/Type1"
> dir "/usr/X11R6/lib/X11/fonts/TrueType"
> dir "/usr/X11R6/lib/X11/fonts/freefont"
> dir "/usr/X11R6/lib/X11/fonts/sharefont"
> dir "/opt/Office51/fonts/type1/"
> dir "/usr/share/abisuite/fonts/"
> dir "/usr/X11R6/lib/X11/fonts/tt_win"
>
> #alias 'fixed' for 'mono'
>
> match any family == "fixed"		edit family =+ "mono";
>
> #Some own experiments with aliasing font families...
> match any family == "mono"		edit family =+ "fixed";
> match any family == "Courier New"	edit family =+ "fixed";
> match any family == "Courier New"	edit family =+ "mono";
>
> match any family == "fixed"		edit family =+ "Courier New";
> match any family == "mono"		edit family =+ "Courier New";
> match any family == "fixed"		edit family =+ "LuciduxMono";
>
> # Copied from XftConfig found on Keith Packard's website:
> #
> # Substitute TrueType fonts for Type1 versions
> #
> match any family == "Times"		edit family += "Times New Roman";
> match any family == "Helvetica"		edit family += "Verdana";
> match any family == "Courier"		edit family += "Courier New";
>
> #
> # Use TrueType fonts for defaults
> #
> match any family == "serif" 		edit family += "Times New Roman";
> match any family == "sans" 		edit family += "Verdana";
>
> #
> # Use monotype.com (andale) face where possible
> #
> match
> 	any family == "mono"
> 	all slant == roman
> 	all weight < bold
> edit
> 	family += "monotype.com";
> #
> # otherwise, use courier
> #
> match any family == "mono"		edit family += "Courier New";
>
> # End of copied stuff
>
> #Check users config file
>
> includeif	"~/.xftconfig"
>
>
> #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";

Upon adding these lines, my KDE default install was usable with AA fonts. 
Very nice. Thanks for the clarifying post:)

Scott



Reply to: