Font styles

1
misiek1984
8/23/2007 11:33 AM

Hi

  I have some problems with font styles. Firstly, I create few instances of DxfTextStyle class using different files with fonts, for example: georgiab.ttf, georgiaz.ttf or georgiai.ttf. Then I use this objects in order to draw some strings. Finally, when I open my dxf file, all strings will look identically; they look like the regular style was used.
  I also have question because I'm not sure. Is it possible to underline or strikeout text in cad?

Michał

Wout
8/23/2007 12:26 PM

Hi Michał,

There seems to be a bug in CadLib's font lookup for these fonts, so display falls back to Arial currently, I'm working on a solution for this. There should be no problem reading/writing these fonts though, did you encounter a problem with that?

Thanks!

Wout

Wout
8/23/2007 12:58 PM

Hi Michał,

I've uploaded a patched version of CadLib, feel free to try it out. (Uninstall the previous version before installing this version).

Thanks for the bug report!

Wout

1