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: 04 Aug 2002 07:51:51 +0200

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?

> OK, I think I need to alias address@hidden to 
> foot-in-mouth-list ;-), seem to always make mistakes when posting
> here... I (for some reason) thought I was replying to a post
> about the current Red Hat beta, which does behave as above.

:))) Well, it turned out to be quite a useful coincidence for my part,
as it gave me some ideas. Thanks :)

Regards
Ole André






reply via email to

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