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

    I have tried re-downloading the font (it is installed as a .ttf), but it is still not working.
    Last edited by natalia carralero; 05 Jun 2023, 03:54. Reason: graph

  • #2
    This has come up before in the forum. See https://www.statalist.org/forums/for...xported-to-pdf

    Comment

    Working...
    X