Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Problem exporting to vector formats


From   "Joseph Coveney" <jcoveney@bigplanet.com>
To   "Statalist" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: Problem exporting to vector formats
Date   Wed, 23 Apr 2008 12:02:19 +0900

Sergiy Radyakin wrote:

I am trying to export to one of the vector graphics formats available:
EMF or WMF. No matter what font I select on the screen, even though I
am getting correct picture on the screen, when the file is written the
font is changed back to "Arial". Is there any way to export the graph
with font different from "Arial"? (The word "Arial" can be clearly
seen in the file, so I am not confusing fonts). The graphs are
exported to raster formats (e.g. png) correctly with the fancy fonts I
want.

--------------------------------------------------------------------------------

You might need to specify the font as an option in -graph export- in order
to change the font for .wmf and .emf, for example, the following worked for
me just now.

Joseph Coveney

sysuse auto
graph twoway scatter gear_ratio displacement
help graph export
graph export figure1.emf, fontface("Andale Mono")
exit


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index