[Top][All Lists]
[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: |
06 Aug 2002 00:11:01 +0200 |
On Mon, 2002-08-05 at 15:30, Owen Taylor wrote:
>
> 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.
Thanks a lot for the answers :)
Cheers
Ole André
- [Devel] TrueType font-scaling, Ole André Vadla Ravnås, 2002/08/01
- Re: [Devel] TrueType font-scaling, Vincent Caron, 2002/08/02
- Re: [Devel] TrueType font-scaling, Ole André Vadla Ravnås, 2002/08/03
- Message not available
- Re: [Devel] TrueType font-scaling, Owen Taylor, 2002/08/03
- Re: [Devel] TrueType font-scaling, Ole André Vadla Ravnås, 2002/08/04
- Re: [Devel] TrueType font-scaling, Ole André Vadla Ravnås, 2002/08/04
- Re: [Devel] TrueType font-scaling, Owen Taylor, 2002/08/05
- Re: [Devel] TrueType font-scaling,
Ole André Vadla Ravnås <=
- Re: [Devel] TrueType font-scaling, Vadim Plessky, 2002/08/05
- Re: [Devel] TrueType font-scaling, Owen Taylor, 2002/08/05
- [OT font resolution -- was Re: [Devel] TrueType font-scaling], Joaquin Cuenca Abela, 2002/08/05
- Re: [OT font resolution -- was Re: [Devel] TrueType font-scaling], Keith Packard, 2002/08/05
- Re: [OT font resolution -- was Re: [Devel] TrueType font-scaling], Pavel Kankovsky, 2002/08/05
- Re: [OT font resolution -- was Re: [Devel] TrueType font-scaling], Vincent Caron, 2002/08/05
- Re: [OT font resolution -- was Re: [Devel] TrueType font-scaling], Joaquin Cuenca Abela, 2002/08/05
- Re: [OT font resolution -- was Re: [Devel] TrueType font-scaling], James H. Cloos Jr., 2002/08/06
- Re: [OT font resolution -- was Re: [Devel] TrueType font-scaling], Vadim Plessky, 2002/08/06
- Re: [OT font resolution -- was Re: [Devel] TrueType font-scaling], Owen Taylor, 2002/08/05