freetype-devel
[Top][All Lists]
Advanced

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

Re: [Devel] TrueType font-scaling


From: Ole André Vadla Ravnås
Subject: Re: [Devel] TrueType font-scaling
Date: 05 Aug 2002 01:53:06 +0200

On Sun, 2002-08-04 at 07:51, Ole André Vadla Ravnås wrote:
> On Sat, 2002-08-03 at 18:28, Owen Taylor wrote:
> > 
> > Owen Taylor <address@hidden> writes:
> > 
> > > > It turns out that some Linux distro configure X with a 100dpi
> > > > resolution. This makes font slightly larger than the Windows ones for
> > > > the same point size. You can check your X resolution with 'xdpyinfo|grep
> > > > resolution'.
> > > 
> > > The resolution there is not the same one used to convert points
> > > to pixels. Limbo uses 96 dpi by default for that. Under GNOME,
> > > you can change the resolution for font points=>pixels with:
> > > 
> > >  Preferences/Fonts,  Details button.
> > > 
> > > I'm not sure why the fonts for the original poster weren't the same
> > > size for Windows and Limbo (was it with Limbo?). It sounds like some
> > > app was selecting font sizes in pixels, not points.
> 
> You're assuming GNOME 2.x, right? I'm running XG1.4 right now, so I
> guess that's why I wasn't able to find that setting. However, I've
> managed to set my X display to 96 DPI by using the DisplaySize directive
> in XF86Config-4 -- but.. however, I couldn't see any apparent change
> when watching TTF-fonts in gfontsel. Is the DPI value hardcoded
> somewhere for GTK+ 1.2.x/GNOME 1.4.x? Or is it in the X Font Server's
> config-file (/etc/X11/fs/config)? I'd like to change that setting. BTW,
> this is an RHL73 system, and the defaults in Limbo you mentioned,
> where/how are they set?

Ah, never mind. I figured that gfontsel was set to pixels and not points
when I tried that afterwards. Now, all fonts look like I think they
should. Thanks folks :)

Regards
Ole André






reply via email to

[Prev in Thread] Current Thread [Next in Thread]