Page 1 of 1

Problem with hebtxt.shx

Posted: 17 Jan 2017, 18:24
by dor_r@top-s.co.il
Hello.
I have a sample model with a text fiels in Hebrew. (Attached
sample heb.zip
(21.83 KiB) Downloaded 1504 times
)
the text style called "HEBTEXT" and its connected to a font named Hebtxt.shx (also attached
dwg.zip
Font File
(1.78 KiB) Downloaded 1552 times
).
cadImage.SearchSHXPaths = true;
cadImage.SHXSearchPaths = @"c:\Program Files\Autodesk\AutoCAD 2017\Fonts";
cadImage.UseSHXFonts = true;
.....

My code set the shx path to the directory with the font .than load the model and save it as image.
The text is displayed as ?????
The text looks good in Autocad and also in TrueView (See attachment
CaptureAutoCAD.JPG
CaptureAutoCAD.JPG (31.21 KiB) Viewed 50515 times
).

I've also noticed that cadImage.UseSHXFonts stays false and I cannot set it to True

What should I do?
Thanks
Dror

Re: Problem with hebtxt.shx

Posted: 18 Jan 2017, 18:16
by support
Hello Dror,

Thank you for the files.

Unfortunately, the library cannot display these Hebrew characters correctly. This problem needs to be fixed.


Mikhail

Re: Problem with hebtxt.shx

Posted: 18 Jan 2017, 18:20
by dor_r@top-s.co.il
OK.
Other Hebrew fonts SHXs works just fine. What is the difference?
I need a workaround.
Can I iterate on all font styles and change font?
When can I expect a beta version with fix?

Dror

Re: Problem with hebtxt.shx

Posted: 18 Jan 2017, 18:26
by support
Dror,

At the moment I can't tell you what causes the problem, it requires investigation.


Mikhail

Re: Problem with hebtxt.shx

Posted: 22 Jan 2017, 11:28
by dor_r@top-s.co.il
Hi,
It does work with your online demo on https://www.sharecad.org/

So I guess there is a workaround for it.
Can you please check?


Dror

Re: Problem with hebtxt.shx

Posted: 23 Jan 2017, 00:25
by support
Dror,

ShareCAD.org service is based on a drawing engine written in Delphi, it doesn't use CAD .NET library. So the problem concerns only our C# code.


Mikhail

Re: Problem with hebtxt.shx

Posted: 23 Jan 2017, 14:25
by dor_r@top-s.co.il
Can I use the delphi drawing engine in my c# code
Dror

Re: Problem with hebtxt.shx

Posted: 23 Jan 2017, 16:17
by support
Dror,

No, it is not possible.


Mikhail

Re: Problem with hebtxt.shx

Posted: 25 Jan 2017, 21:40
by support
Dror,

For your information, this problem occurs only with non-Unicode SHX fonts.


Mikhail