freetype-devel
[Top][All Lists]
Advanced

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

Re: [Devel] TrueType font-scaling


From: Owen Taylor
Subject: Re: [Devel] TrueType font-scaling
Date: Mon, 5 Aug 2002 09:30:27 -0400 (EDT)
User-agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/21.1

Ole André Vadla Ravnås <address@hidden> writes:

> 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?

In 7.3, GNOME-1.4 just reflects the core X behavior ... as far
as I recall, for scaleable fonts this is determined by the 
'default-resolutions' in /etc/X11/fs/config, for not-scaleable
fonts, by the order of the elements in 'catalogue'.

GNOME in Limbo has an entirely different set of font technologies -
new rasterizer (freetype2), new font system (fontconfig/Xft), new text
layout engine (Pango), so there isn't much commonality.

Regards,
                                        Owen



reply via email to

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