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)
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)
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.
We have reviewed the provided DWG file. Both in DWG FastView and AutoCAD, the string does not appear. We converted the file to DXF using AutoCAD and reviewed its content manually. The file doesn’t contain string beginning with “4号” - such as the missing string, while it does contain string beginning with “3号” - such as the present string next to it.
Furthermore, while Aspose.CAD indeed does not support .SHX fonts, it will render all text using a different available font automatically. And even if the font won’t support the characters in the text, they will at least appear as squares. However, any font would contain symbols for digits, so at least they would be displayed correctly. While in this case, nothing appears at all.
As such, we are strongly convinced that the provided file indeed doesn’t contain the string at all and is different from file where the string can be seen.