Text-Font

Discuss and ask questions about CAD .NET library.

Moderators: SDS, support, admin

Post Reply
coo5hda
Posts: 11
Joined: 26 Oct 2018, 21:58

Text-Font

Post by coo5hda » 06 Mar 2019, 21:06

Hi, I have the following issue. Load a dwg which has a layer with text, however by the font type the editor does not show me what it says but a lot of characters. There is some way to change the source of these values when loading the file

support
Posts: 3271
Joined: 30 Mar 2005, 11:36
Contact:

Re: Text-Font

Post by support » 07 Mar 2019, 23:07

Hello,

Could you please post a screenshot which demonstrates the issue?

Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

coo5hda
Posts: 11
Joined: 26 Oct 2018, 21:58

Re: Text-Font

Post by coo5hda » 08 Mar 2019, 16:02

The blueprint already contains this text the problem is that it shows it with the characters that appear in the image and does not show the text itself
Attachments
2019-03-08_06h59_36.png
2019-03-08_06h59_36.png (12.9 KiB) Viewed 9604 times

support
Posts: 3271
Joined: 30 Mar 2005, 11:36
Contact:

Re: Text-Font

Post by support » 11 Mar 2019, 20:42

Hello,

Text characters are read from a font file (.shx of .ttf) which stores the font used by the text style. It appears that the given text requires some SHX font, but the required font is missing or your program doesn’t use SHX fonts at all.

Could you please try to determine a name of the required font through a CADText.Style.FontName (single line text) or CADMText.Style.FontName (multiline text) property?

Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Post Reply