I am attempting to write my own FontImplementation class, but could really use some insight on how it all fits together. I am using the freetype plugin as a model.
Specifically, I am looking for details about osgText::Font::Glyph and the members setHorizontalBearing setHorizontalAdvance setVerticalBearing setVerticalAdvance What units are these in? How is the the HorizontalBearing, etc used? Also, what does it mean to return true from osgText::Font::FontImplementation ::hasVertical() Finally, what is an implementor supposed to do in setFontResolution. What units are width/height in? As I said, I have used the freetype plugin as a model, but I am not a typographer nor am I especially familiar with freetype or the terminology. Thank you in advance.
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

