> > > Offsets are adjustments accumulated during shaping, bearings are design > glyph metrics. Instead of using metrics you should be using actual glyph > box, CBox or BBox in freetype terms.
I don't think either of these sentences is correct. The CBox contains non-visual elements such as non-interpolated spline control points, so if you use that, you end up wasting space. Referring once again to http://www.freetype.org/freetype2/docs/tutorial/step2.html it says that the bearing is the distance from the cursor position to the edge of the actual image's bounding box. Note that this tutorial mentions calling Get_Bbox and explicitly says you probably don't want to do it.
_______________________________________________ HarfBuzz mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/harfbuzz
