[luatex] using (pdf)lualatex
Yue Wang
yuleopen at gmail.com
Mon Feb 2 14:23:01 CET 2009
>
> CFF based fonts (Adobe Song) do not have the glyf (boundingbox)
> information, which is why I have to do the expensive calculation to
> begin with.
>
> So, the question remains the same: would it be ok to have a correct
> vwidth (cf width in horizontal fonts) and tsidebearing (analogous to
> the already existing lsidebearing), but no boundingbox? In other
> words, is the glyph boundingbox information relevant in the general
> case?
>
> The exact boundingbox is relevant for latin fonts because the glyph
> depth and height are important for the line height calculations,
> because the horizontal baseline lives somewhere in the middle of
> the glyphs.
>
Please use control box instead of bounding box. Refer
http://freetype.sourceforge.net/freetype2/docs/reference/ft2-glyph_management.html#FT_Glyph_Get_CBox
and related code (ftglyph.c)
More information about the luatex
mailing list