Cad shx font can not be distinguished


#1

I convert a dwg file to pdf , but some texts(shx font) do not display(blank)

then i try to call ‘setPrimaryFontName’ method but useless;

so do you support display shx font text? thank you.

i attached the dwg file and the pic with error info2.png (33.9 KB)
,please check it ,thanks(i use java demo).

3.zip (1021.4 KB)


#2

@kangaroo,

I have worked with source file shared by you using Aspose.CAD latest version 19.7 and unable to observe any issue. I have also shared my generated result with you as well. Can you please share generated result with me so that we may further investigate to help you out. Also please share sample code and environment details.3.pdf (6.8 MB)


#3

I attack the error png, some texts do not display(red text mark2.png (33.9 KB)
),the font of the missing text is cad font “standard.shx”

Your pdf is the same as the one i had converted.

Please check it,thanks!

@ Adnan.Ahmad


#4

@kangaroo,

I have shared screenshot of source file. I have checked location where you are pointing but i did not see any kind of text at that position.Inked2019-08-21 13_42_41-3.dwg AutoDWG DWGSee Pro 2018(f__aspose work).jpg (144.5 KB)


#5

That is the point , it should display some text here

I attach the correct pic with cad source file,you can check it,thanks!

I just use the Aspose Demo “ConvertDWGFileToPDF” to convert dwg file. correct.png (205.4 KB)

@ Adnan.Ahmad


#6

@kangaroo,

Can you please confirm if you are checking attached source file on your end. As i can see it does not have text on position which you pointed out. I think we both are checking different source files. 3.zip (1021.4 KB)


#7

I am sure we use the same source file.

I opened it directly(dwg file) with a professional tools and catch a pic for you(attachment)

pls check it thanks!

111.png (35.8 KB)

@ Adnan.Ahmad


#8

@kangaroo,

Can you please share tool name which you are using to view file.


#9

this is the download address:
https://activity.gstarcad.com/activity/promotionCommando?bd_vid=12198667618474362891

I attach a pic to mark the download button for 32/64 windows os,pls check it thanks!

@ Adnan.Ahmad222.png (84.7 KB)


#10

@kangaroo,

I have observed your comments. An investigation ticket with ID CADJAVA-528 has been created in our issue tracking system to investigate to help you out in this issue. This thread has been linked with the issue so that you may be notified once investigation is completed.


#11

Thanks a lot!
@ Adnan.Ahmad


#12

@kangaroo,

You are very welcome.