Incorrect saving of PDF

General comments and questions. Technical support.
Post Reply
Lumenman
Posts: 4
Joined: Fri Sep 19, 2025 11:24 am

Incorrect saving of PDF

Post by Lumenman »

I'm using version 5.0.0.1. When saving Cyrillic text as a PDF, the text encoding and font appearance are corrupted. The default PDF viewers on Linux display the file incorrectly. The only program that can open the PDF is Google Chrome, but it doesn't resolve the text encoding and font display issues. Bold and plain text also appear different.
Attachments
01.pdf
(83.48 KiB) Downloaded 5 times
01.rtf
(2.04 KiB) Downloaded 5 times
User avatar
admin
Site Admin
Posts: 2907
Joined: Wed Jun 05, 2002 10:48 pm
Contact:

Re: Incorrect saving of PDF

Post by admin »

As I understand it, you run Atlantis on Linux. Needless to say, Atlantis is not a native Linux application. Yes, you can run Atlantis under Linux thanks to Wine. But I am personally aware of quite a number of issues with Atlantis on Linux, from non-working features to trivial visual glitches. Some issues are fixable. We try to fix them when they get reported by Linux users. But being a Windows application, Atlantis will never work flawlessly on Linux systems.

Now about the “Save as PDF” command of Atlantis. I tried “saving as PDF” in Atlantis on a virtual machine with Linux Mint. Atlantis was initially unable to create a PDF file because Atlantis needs access to the actual font files. The “~/.wine/drive_c/windows/Fonts” folder was empty on my virtual machine. Well, I got an error from Atlantis because Atlantis did not expect the “no fonts” situation. I was able to generate a proper PDF file under Linux only after copying font files to the abovementioned folder. Do you have the font files in this folder on your system?
Lumenman
Posts: 4
Joined: Fri Sep 19, 2025 11:24 am

Re: Incorrect saving of PDF

Post by Lumenman »

Yes, I'm running the app through Wine. It works fine, so far, without any issues. The font issue has been resolved. I placed the fonts in the folder you specified, and everything works correctly. Don't mess up Linux (Wine) compatibility :wink:
User avatar
admin
Site Admin
Posts: 2907
Joined: Wed Jun 05, 2002 10:48 pm
Contact:

Re: Incorrect saving of PDF

Post by admin »

By the way, what text rendering method do you use in Atlantis ("Tools | Options... > Accessibility > Render document text using:")?
Lumenman
Posts: 4
Joined: Fri Sep 19, 2025 11:24 am

Re: Incorrect saving of PDF

Post by Lumenman »

By default - GDI with default antialiasing. In my case, do I need to change it?
User avatar
admin
Site Admin
Posts: 2907
Joined: Wed Jun 05, 2002 10:48 pm
Contact:

Re: Incorrect saving of PDF

Post by admin »

I am asking because the default text rendering method in Atlantis is DirectWrite. As I understand, it does not work in Atlantis on all Linux systems (black rectangles instead of paragraphs). Is this how documents get displayed under this method on your system?
Lumenman
Posts: 4
Joined: Fri Sep 19, 2025 11:24 am

Re: Incorrect saving of PDF

Post by Lumenman »

Here, look at the screenshot of the 01.RTF file. There are no visual artifacts—everything displays correctly.
After downloading the fonts to the appropriate Wine folder, the PDF also saves correctly (02.pdf).
Attachments
02.pdf
(374.86 KiB) Downloaded 1 time
Снимок экрана_2025-09-24_14-00-51.png
Снимок экрана_2025-09-24_14-00-51.png (97.78 KiB) Viewed 60 times
User avatar
admin
Site Admin
Posts: 2907
Joined: Wed Jun 05, 2002 10:48 pm
Contact:

Re: Incorrect saving of PDF

Post by admin »

Thanks for the info. Yes, this is a DirectWrite rendering with grayscale antialiasing in your screen capture. And it is weird because quite a number of users have reported problems with this rendering method in Atlantis under Wine (black boxes instead of actual paragraphs). This means that this problem is not that universal. Maybe the DirectWrite library in Wine has been improved recently.
Post Reply