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

Re: Antialiasing and ugly fonts



On Fri, Oct 25, 2002 at 07:25:33AM -0500, Graham Wilson wrote:
> On Fri, Oct 25, 2002 at 08:22:53AM +0200, Jean-Christophe Dubacq wrote:
> > On Thu, Oct 24, 2002 at 09:21:56PM -0500, Graham Wilson wrote:
> > > On Thu, Oct 24, 2002 at 05:32:49PM +0200, Jean-Christophe Dubacq wrote:
> > > > The default (shipped) XftConfig should probably contain some kind of
> > > > specifications (after all, X11 is installed with readable fonts)...
> > > > 
> > > > Should I file a bug ? (remember, it's Branden Robinson I will have
> > > > to deal with)...
> > > 
> > > if the problem makes something unreadable for you by default, then id
> > > say you should file a bug.
> > 
> > Try to use gnome-font-properties and set your main font to Cartwright
> > size 12. :-)
> 
> i dont have that font installed. i only have ttf-freefont and
> xfonts-{100,75}dpi.

It's in sharefonts.

You might also consider xfonts-scalable as a package, since the defaults
I proposed in my patch (bug to appear soon, against xlibs) uses those:
-----------------begin of file-----------------------------
# $XFree86: xc/lib/Xft/XftConfig.cpp,v 1.8 2001/11/21 23:41:12 keithp
# Exp $

dir "/usr/X11R6/lib/X11/fonts/Type1"
dir "/usr/X11R6/lib/X11/fonts/TrueType"

match any family == "fixed"             edit family =+ "mono";
match any family == "fixed"             edit spacing =+ 100;

#
# Check users config file
#
includeif       "~/.xftconfig"

#
# Alias between XLFD families and font file family name, prefer local
# fonts
#
match any family == "charter"           edit family += "bitstream
cha=
rter";
match any family == "bitstream charter" edit family =+ "charter";

# Propose reasonable defaults. Assume xfonts-scalable is there.
# First, monospace fonts
match any spacing == 110 edit family =+ "Courier 10 Pitch" ;
match any spacing == 100 edit family =+ "Courier 10 Pitch" ;
# Second, all others
match any spacing == 0 edit family =+ "Bitstream Charter" ;
# Sometimes fonts are not requested with a specification for spacing,
# so the preceding pattern fails to add Bitstream Charter as an
# alternative. However, all are requested with a size (I hope).
# Propose several alternatives.
match any size > 0 edit
        family =+ "Helvetica" ;
        family =+ "Arial" ;
        family =+ "Bitstream Charter" ;
-------------------end of file-----------------------------
> > Trouble is, the X server can be installed with no fonts, and as such no
> > font is guaranteed to be present for sur. May be I can try to
> > see if multiple fallbacks can be specified. Then I will file bug+patch
> > with fonts from freefont, from xfonts, from free ttf packages, etc.
> id say only make the xfonts be the default, since those have a better
> chance of being installed than the other one.
> which 'freefont' are you talking about?

$ apt-cache show freefont| tail +12
Description: Freeware font selection for X11
 A collection of 79 scalable type 1 fonts for X11. The fonts are all freeware
 but some of them are not to be sold or have other redistribution limitations.
 .
 Restart your X Server to activate the fonts.
 Instructions on how to get ghostscript to use it are also included.

-- 
JCD




Reply to: