|
You can use TrueType fonts with the SASEMF driver. You may have to
register them first though (see PROC FONTREG).
R
On Jul 3, 12:50 pm, ya.hu...@AMYLIN.COM (Ya Huang) wrote:
> I was wondering if anyone tried to modify SASEMF driver to include some
> proportional font, such as Arial or Times New Roman.
>
> On Tue, 3 Jul 2007 00:13:05 -0000, Richard <richard.hoc...@GMAIL.COM> wrote:
> >Have a look at this
> >http://support.sas.com/techsup/technote/ts674/ts674.html
>
> >'An Introduction to Exporting SAS/Graph Output to Microsoft Office
> >SAS Release 8.2 and higher'
>
> >Excellent resource for anyone trying to get output into MS Office
>
> >R
>
> >On Jul 3, 2:29 am, Ya.Hu...@AMYLIN.COM ("Huang, Ya") wrote:
> >> The following shows the difference using default resolution and
> >> increased resolution of png driver combined with ods/rtf:
>
> >> options orientation=landscape;
>
> >> ods rtf file="c:\temp\junk.rtf" style=minimal;
>
> >> goptions reset=all device=png xmax=11 in ymax=8.5 in
> >> hsize=9 in vsize=6.5in ftext=Arial htext=4pct;
>
> >> proc gplot data=sashelp.class;
> >> plot weight*height;
> >> title 'Low resolution font';
> >> run;
>
> >> goptions reset=all device=png
> >> xmax=11 in ymax=8.5 in xpixels=3300 ypixels=2550
> >> hsize=9 in vsize=6.5in ftext=Arial htext=4pct;
>
> >> proc gplot data=sashelp.class;
> >> plot weight*height;
> >> title 'High resolution font';
> >> run;
>
> >> ods rtf close;
>
> >> -----Original Message-----
> >> From: t...@rdg.boehringer-ingelheim.com
>
> >> [mailto:t...@rdg.boehringer-ingelheim.com]
> >> Sent: Monday, July 02, 2007 9:26 AM
> >> To: Huang, Ya; S...@LISTSERV.UGA.EDU
> >> Subject: RE: Re: ods rtf with emf graphics
>
> >> This gives me good resolution when producing a PNG file for full-screen
> >> Slide but I don't know how it would look with RTF.
>
> >> goptions reset=all rotate=landscape device=PNG gsfname=gsffile
> >> xpixels=1200 ypixels=900 xmax=8 in ymax=6 in;
>
> >> -----Original Message-----
> >> From: SAS(r) Discussion [mailto:S...@LISTSERV.UGA.EDU] On Behalf Of Ya
> >> Huang
> >> Sent: Monday, July 02, 2007 12:14 PM
> >> To: S...@LISTSERV.UGA.EDU
> >> Subject: Re: ods rtf with emf graphics
>
> >> Unfortunately, EMF driver can't be used for ods/rtf (confirmed by SAS)
> >> yet.
> >> I was recently told by a SAS tech support that from v9.2, SAS will have
> >> a whole new suite of true type fonts for all kinds of graph drivers,
> >> including SASEMF, hopefully it will make our life much easier by using
> >> ods/rtf and the new SASEMF driver.
>
> >> When you try png driver, did you redefine the resolution? You may want
> >> to try xpixels and xpixels goption. By increasing the resolution, I
> >> think you can probably get the high quality font you want. By default,
> >> the png resolution is about 100dpi. You can increase it by increasing
> >> the xpixels and ypixels, for me 300dpi would be good enough.
>
> >> On Mon, 2 Jul 2007 04:45:22 -0700, ckxp...@yahoo.com <ckxp...@YAHOO.COM>
> >> wrote:
>
> >> >Following recent threads in this newsgroups, I decided to try SAS/
> >> >Graph in combination with ODS RTF. The graphs worked fine with the emf
> >> >driver but when I use ODS, 'Arial' is replaced by font simulate and the
>
> >> >result is rubbish. I *can* use Arial if I specify device=png and
> >> >target=png but the quality of the output suffers.
>
> >> >The problem seems to be that the SASEMF driver is used in combination
> >> >with ODS RTF and that only supports courier (although the SAS help file
>
> >> >says it supports truetype fonts),. Can anyone tell me how to get high
> >> >resolution graphics using ODS RTF? The reason I'm so interested is that
>
> >> >I'd like to write the titles and footnotes to the body text of the
> >> >document rather than the graph. Any tips, wikis, sugi papers on this?
>
> >> >Advance thanks,
> >> >John Hendrickx
|