Statalist


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

Re: st: Problem exporting to vector formats


From   "Sergiy Radyakin" <serjradyakin@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Problem exporting to vector formats
Date   Wed, 23 Apr 2008 10:42:15 -0400

Thank you Joseph, this is exactly what I needed. Scott's solution also
works, but it remains unclear why clipboard settings would determine
the font in the export command. And since fontface() option can be
used in  the program, I will be using it.

Thank you,
  Sergiy Radyakin




On 4/22/08, Joseph Coveney <jcoveney@bigplanet.com> wrote:
> 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/
>
*
*   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