[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] Vert advance on line break
From: |
Werner LEMBERG |
Subject: |
Re: [ft] Vert advance on line break |
Date: |
Fri, 23 Jan 2009 07:23:27 +0100 (CET) |
> My quesiton is: How do I know how much to increase my Y position by
> for a new line (line break)? I tried using
> [i]face->size->metrics.height[/i], but this seemed far too steep for
> some fonts (almost like the font was double-spaced), and simply
> doesn't exist at all (is zero) for many, many fonts such as Courier,
> which makes it completely useless for me.
>From the documentation of FT_FaceRec:
height
The height is the vertical distance between two consecutive
baselines, expressed in font units. It is always positive. Only
relevant for scalable formats.
Or do you mean something different?
Werner
- [ft] Vert advance on line break, Disch, 2009/01/23
- Re: [ft] Vert advance on line break,
Werner LEMBERG <=
- Re: [ft] Vert advance on line break, mpsuzuki, 2009/01/23
- Re: [ft] Vert advance on line break, Mickey Gabel, 2009/01/26
- Re: [ft] Vert advance on line break, Werner LEMBERG, 2009/01/27
- Re: [ft] Vert advance on line break, Mickey Gabel, 2009/01/27
- Re: [ft] Vert advance on line break, Werner LEMBERG, 2009/01/29
- Re: [ft] Vert advance on line break, Mickey Gabel, 2009/01/30
- Re: [ft] Vert advance on line break, Werner LEMBERG, 2009/01/31