freetype
[Top][All Lists]
Advanced

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

Re: [ft] Incorrect text spacing.


From: Werner LEMBERG
Subject: Re: [ft] Incorrect text spacing.
Date: Tue, 02 Jun 2009 21:06:52 +0200 (CEST)

> [...] all text appears to be improperly spaced.  The line spacing is
> too large.  Upon examination the ascent and descent font metrics
> appear to be ~50% too large.

Example values, please, with a real font.

> I grew up with the understanding that ascent
> was typically the distance from the base-line to the top
> of the lower case 'd' character and the descent
> was typically the distance from the base-line
> to the bottom of the lower case 'y' character.
> You add a little leading and you have the line-spacing.

Read this for a complete understanding of the three different sets of
ascender and descender values in TrueType fonts:

  http://typophile.com/node/13081?

> Qt tech-support blames the X11 layers (FontConfig, Truetype etc.)
> for providing incorrect font metrics.
> 
> Is this true or are they misinterpreting the numbers?

I don't know.


    Werner




reply via email to

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