Tasks not displayed when exported to PDF in macOS Mojave

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

Also, are we talking about English symbols?

Hey Dmitry, I was not able to install Liberation Sans using your instructions and the other fonts don’t seem to work. Can you please help?

See screenshot of the left column. The list does not display.

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)

ezgif-4-6e61b054728d

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?

Can you please share the example of your PDF output?

Test.pdf (365.5 KB)

Here it is …

Thanks.

So,

  1. PDF output IS zoomable. You can zoom in and see the details. Here is the screenshot of a part of your PDF.

  2. Why don’t you make the logo a little bit smaller? It eats nearly a half of the vertical space.

It works and it looks good. Thanks a lot.

An update on this:

  • 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.

1 Like

solve the problem
thanks buddy

Hi Dlmitry,

I am struggling with the same problem on my Mac. Just upgraded to GP 31.3102 in order to benefit from this embedded Droid Sans Fallback Full H font. I installed the font in the Font Book of my Mac after downloading it from the net.
I have changed the GP settings to this font as application and chart font. Then I tried exporting my project to .pdf and chose this font as a substitute for ARIAL.
Same result: empty task list with only the bullets.

Do you have any other suggestion?

rgds

Hello Dimitry - I’m having the same problem on Mac OS Catalina. I read this entire thread and tried both font substitutions - Tahoma, and Droid Sans Fullback Full H. But the task list is still blank when I export to PDF. I did notice in the settings that there is a PDF theme setting on “Sortavala” which is unchangeable. Could that be the problem? If not, do you have any other suggestions? I really like everything else about this software and would like to use it. Thanks.

tried both font substitutions

What exactly do you mean by “font substitutions”? It has a special meaning in the context of PDF export, that’s why I am asking.

What I’m referring to are the recommendations that you made earlier in this thread, and that others have tried. Can you offer any additional suggestions to make the task list show up?

This is really very frustrating, and others have had this problem. The thread above goes on and on, and you never answered my question. Is there no solution? I have put a considerable amount of work into this Gantt chart and don’t want to have to find a different software program.

This is what is called in GanttProject PDF export “font substitution” (just because there are words “font” and “substitution” next to each other)

If it was what you meant when you wrote “font substitution” then it was not supposed to change anything. You need to change the application font, as shown e.g. in this reply

If you really changed the application font to and it did not help then try choosing some other font. I can’t say which one, sorry.

You can also export the chart to PNG image. As far as I know, it works fine, and chances are that it may replace that single page of PDF report with the chart image.

Finally, in the upcoming GanttProject 3.2 the code which exports the task table to PDF was rewritten, and hopefully it will work better.

I really did change the application font and tried several different ones. However, the PNG is an acceptable work-around until the new version is released. Thank you!