Announcement

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

  • Standard font in graphs has changed and I can't figure out why

    Dear list

    At some point in the last week the standard font in the graph window has changed and I am rather confident that I did not intend to change it (nor did I make any changes to settings that I would recall).

    Right now, the font looks like this in the output window:

    Code:
    sysuse auto, clear
    twoway scatter mpg weight, scheme(s2color)
    Click image for larger version

Name:	Capture.PNG
Views:	1
Size:	24.2 KB
ID:	1419948




    However, when I export that very graph as a PDF, the font in the PDF is the standard font:

    Code:
    graph export "Graph.pdf", as(pdf) replace
    Click image for larger version

Name:	Capture.PNG
Views:	1
Size:	39.3 KB
ID:	1419949




    Does anyone know how to fix this? I am using Stata 13.1 on a Windows PC (64-bit x86-64). Restarting Stata and restarting the PC did not fix the problem.

    Thank you very much!

    Joe
    Last edited by Joaquin Gerring; 28 Nov 2017, 07:10.

  • #2
    It looks like your font has been changed somehow (Lucida Sans was the closest that I could find). The following should fix it up:

    Code:
    graph set window fontface default
    See 'help graph set' for more details.

    Hope that helps!

    Comment


    • #3
      Thank you very much, that helped indeed!

      Comment

      Working...
      X