I saw that, there is a topic with similar name (DWG to PDF - special characters are wrongly exported), but I don’t know, that the two errors are the same.
The hungarian special characters, like “á,é,í,ő” are incorrectly converted, the accents slip, appearing in the wrong place.
I have attached an example:
exampleHUN.zip (42.1 KB)
.dwg file is the original
In the .png file, You can see how it should look like
And the .pdf is the result, where the characters do not look right.
To convert, I used the ConvertDWGFileToPDF class from the example code on the github (https://github.com/aspose-cad/Aspose.CAD-for-Java)
I tried to set a character encoding with the
loadOptions.setSpecifiedEncoding(CodePages.CentralEurope);
line, but nothing has changed.
Can you help me, to get a correct looking pdf?