Hi Jeff, The API for Font changed a bit in the 2.3.x dev series so if you are planning to do a FontImplementation then I have to recommend that you use this as your base otherwise your next update might find things coming unstuck.
W.r.t units and meanings, they are all inspired by freetype as interfacing with freeytpe was the guide to the implementation of osgText i.e. I made the assumption that the freetype guys new what they were doing are knew the most appropriate naming convetion to use. So if you want a definitive meaning head over the freetype docs. Robert. On Jan 22, 2008 1:39 AM, Jeff Peters <[EMAIL PROTECTED]> wrote: > > > 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 > > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

