<div>Hi OSG developers,</div><div><br></div><div>OSG is a great library, and I really like it.</div><div>I have written a osg Node class which support display text in AutoCAD shape file.</div><div>The source code is attached.</div><div>I hope some developer can merge it into OSG after extending it to other platform than Windows.</div><div>class ShxText's usage is like this:</div><div><br></div><div><div><span style="white-space:pre">                   </span>osg::Geode* geode = new osg::Geode();</div><div><br></div><div><span style="white-space:pre">                        </span>ShxText* pText = new ShxText();</div><div><span style="white-space:pre">                       </span>pText->setCharacterSize(10);</div><div><span style="white-space:pre">                       </span>pText->SetText(L"Hello, Öйú");</div><div><span style="white-space:pre">                  </span>pText->SetFontFile("txt.shx", "THFont.SHX");//THFont.shx</div><div><span style="white-space:pre">                       </span>pText->SetColor(osg::Vec3f(i / 100.f, j / 100.f, 1.f));</div><div><span style="white-space:pre">                    </span>pText->build();</div><div><br></div><div><span style="white-space:pre">                   </span>//auto pText = new osgText::Text;</div><div><span style="white-space:pre">                     </span>//pText->setText(L"Hello, Öйú");</div><div><span style="white-space:pre">                        </span>//pText->setCharacterSize(10);</div><div><span style="white-space:pre">                     </span>//pText->setFont(font);</div><div><br></div><div><span style="white-space:pre">                   </span>geode->addDrawable(pText);</div></div><div><br></div><div>Thanks,</div><div>Deping Chen</div>