Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • latin modern math font not showing in graph when exporting to pdf

    Hello!

    I am trying to apply the "Latin Modern Math" font to a graph. It all works fine in STATA, but when I export the graph as a pdf, the font remains unchanged and is not showing in the pdf.

    My code is:
    Code:
    graph set window fontface "Latin Modern Math"
    graph save graphexample.gph, replace
    graph export "graphexample.pdf", replace
    In the STATA graph, the font has indeed changed: https://ibb.co/yk3LKgP
    but when i open the pdf, it still looks like this: https://ibb.co/dPW5jTF

    This does not happen when I export it to .png, for example.
    I have tried re-downloading the font (it is installed as a .ttf), but it is still not working.
    Any ideas of what could be happening and how can I solve it?

  • #2
    Duplicate post. If interested, see https://www.statalist.org/forums/for...porting-to-pdf

    Comment

    Working...
    X