Changeset 13041 for OpenSceneGraph/trunk/src/osgPlugins/txf/TXFFont.cpp
- Timestamp:
- 03/21/12 18:36:20 (14 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/txf/TXFFont.cpp
r12406 r13041 150 150 unsigned w = texwidth; 151 151 unsigned h = texheight; 152 152 153 153 osgText::FontResolution fontResolution(maxheight, maxheight); 154 154 … … 249 249 addGlyph(fontResolution, ' ', glyph); 250 250 } 251 251 252 252 for (unsigned i = 0; i < glyphs.size(); ++i) 253 253 { … … 275 275 glyph->setWidth(float(width)*coord_scale); 276 276 glyph->setHeight(float(height)*coord_scale); 277 277 278 278 // OSG_NOTICE<<"char="<<char(glyphs[i].ch)<<", glyphs[i].x_off="<<int(glyphs[i].x_off)<<", glyphs[i].y_off="<<int(glyphs[i].y_off)<<", glyphs[i].advance="<<int(glyphs[i].advance)<<", glyphs[i].width="<<int(glyphs[i].width)<<", glyphs[i].height="<<int(glyphs[i].height)<<std::endl; 279 279
