[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: glyph info
From: |
Werner LEMBERG |
Subject: |
Re: glyph info |
Date: |
Sat, 07 Oct 2000 09:35:03 +0200 (CEST) |
> >On a per-glyph basis, the field face->glyph->linearHoriAdvance
> >(after a call to FT_Load_Glyph) contains the advance width in
> >original font units if the flag FT_LOAD_UNSCALED_LINEAR has been
> >used. Together with face->units_per_EM you should be able to do
> >what you want.
>
> that flag does not seem to exist (although it is mentioned in the
> documentation). are you talking about FT_LOAD_NO_SCALE instead? if
> i use that flag i always get linearHoriAdvance=0 for cmr10.pfb...
> the horiAdvance seems to be correct for the font, though.
Sorry, it should be FT_LOAD_LINEAR_DESIGN. I'll fix the
documentation.
Related to this: Shouldn't the glyph cache manager accept all possible
FT_LOAD_XXX options? David?
Werner
- glyph info, crusius_at_stanford . edu, 2000/10/01
- Re: glyph info, crusius_at_stanford . edu, 2000/10/07
- Re: glyph info,
Werner LEMBERG <=
- Re: glyph info, crusius_at_stanford . edu, 2000/10/08