SOLVED!
So far I've tried with ubuntu 20.04 and Manjaro (updated on April the 3rd). The issue seems to affect only text, such as legends and axis labels.
The above code produces the following results. (PDF on the left, and PNG on the right). 
As you can see, the legend on the PDF version is weird. It is not a matter of size, because a vsmall legend will reduce it's overall size, but it will also be out of bounds.
Anyone facing a similar issue?
I believe it might be a problem with a missing font. but I don't which font Stata uses for plotting or how to change it.
possibly (un)related and sill unsolved: https://www.statalist.org/forums/for...aro-arch-based
So far I've tried with ubuntu 20.04 and Manjaro (updated on April the 3rd). The issue seems to affect only text, such as legends and axis labels.
Code:
sysuse uslifeexp, clear line le_male le_female year graph export /tmp/test.pdf graph export /tmp/test.png
As you can see, the legend on the PDF version is weird. It is not a matter of size, because a vsmall legend will reduce it's overall size, but it will also be out of bounds.
Anyone facing a similar issue?
I believe it might be a problem with a missing font. but I don't which font Stata uses for plotting or how to change it.
possibly (un)related and sill unsolved: https://www.statalist.org/forums/for...aro-arch-based
Comment