We need the text string in the form of polylines matching the exact font type used in a .dwg file. Is there a way to get such polylines?

  1. FAQ
  2. »
  3. Examples

See the implementation of the TxtExp command in Drawing/Examples/ExCommands/ExTxtExp.cpp. It converts text to polylines and arcs, using the same font that the vectorizer resolves for the entity — so the outlines match the font actually used to draw the .dwg, which is what you are asking for.

You can try it in OdaMfcApp by typing TxtExp and selecting the text entities.