[Top][All Lists]

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

Re: [ft] Bitmap fonts

From: Werner LEMBERG
Subject: Re: [ft] Bitmap fonts
Date: Mon, 03 Jul 2006 11:40:00 +0200 (CEST)

>  >> So, when i load a bdf bitmap font (non-scaleable), where do i get
>  >> the character width, advance, line-spacing, etc?
>  >
>  >FT_Bitmap_Size.  I'll add a pointer to the docs.
> But that doesn't have per-character metrics such as the width of a
> character.

Correct, but values in FT_FaceRec are always global.  Glyph metrics
are available in FT_GlyphSlot -> metrics.

> In struct FT_FaceRec, does the comment only apply to bbox, or to all
> the other members following too?

For all the following members.  Note that FT_Size_Metrics are set for
bitmap fonts also.


reply via email to

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