Six months ago I used to export my ganttprojects to PDF with no issue. I just recently updated my Mac to Mojave and downloaded the latest version of GanttProject. I created a new project and when I exported it to PDF the name of all the tasks didn’t display in the PDF version.
You may want to make sure that you’re using a good substitution font for Arial, one which exists on your Mac and is embeddable. Liberation Sans which comes which GanttProject is okay.
Thanks for the advise. I already did. I used Liberation Sans which comes in GranttProject’s folder and I get the same result. The tasks in the Gantt Chart in the PDF don’t show up.
Any other recommendation or would you like me to send you the PDF?
Try changing Application font in the Application UI settings, e.g. choose Liberation Sans just to check. Also, in the export wizard, choose Liberation Sans as arial substitution.
I chose Liberation Sans as arial subsitute in the export wizard and it still didn’t work. There’s no option for Liberation Sans in the Application UI settings. Should I choose something else?
Yes, try choosing some other font. I think the chooser shows the list of fonts which are installed on the operating system. You can try installing Liberation Sans: https://support.apple.com/en-us/HT201749
I can’t suggest anything besides playing with the fonts, sorry. In fact I can reproduce the issue on macOS Catalina, with other application font, and it fixes as soon as I change the application font. See the screencast below: task table cells are empty with PT Sans while everything is okay with Tahoma (fonts were chosen pretty much randomly)
I just solved the issue by changing font to Verdana in settings/preferences (two places) and when I export to PDF as well (one place during export). Then I get the activities out.
But the Gantt part is impossible to read. Is there any way to export the Gantt diagram in a format that people can zoom into to read it?
I still don’t know the reason why some fonts may not render some glyphs on macOS.
As a workaround, I added Droid Sans Fallback font to GanttProject and made it registering itself in the list of application and chart fonts, so that installation is not required. This font covers a wide range of character sets, including CJK, so hopefully it will be a good fallback font.
A few bugs with font registration were fixed. They might be the cause of this issues, however, as I said above, I still can reproduce this issue with e.g. PT Sans font
Some logging was added to log what’s going on with the font registration
All this is going to be published in the upcoming GanttProject 3.0 which hopefully will be released by the end of year.
So, this was published in GP 3.0 Release Candidate build. Choosing “Droid Sans Fallback Full H” font in the settings will hopefully fix the issue. The font is shipped with GanttProject and registers in the application automatically.