BookmarkSubscribeRSS Feed
MINX
Obsidian | Level 7

I Recently got a project needs SAS 9.3 to generate figure with font COMPLEX font. The output is RTF with SASEMF graph. goptions  device=sasemf works fine in SAS 9.2, but the re-solution of plot is terrible in SAS 9.3 as below.

 Untitled1.png

 

It seemed that COMPELX font was not suppoted well by SASEMF in SAS 9.3. What it is the best way to use SASEMF with COMPLEX font in SAS9.3. I know this is an old version issue. But I still hope I could get some clues about this. Thank you.

 

Below is the code I used for this test

ods graphics off;
ods _all_ close; 
ods listing; 

proc sort data=sashelp.class out=class; 
by sex; run;

title;
footnote;

options orientation=portrait;

goptions reset=all device=sasemf  xmax=6in ymax=4in htext=1 ftext=complex ftitle=complex noborder;

symbol1 c=red v=circle i=none;
symbol2 c=blue v=square i=none;

proc gplot data=class;
	plot weight*height=sex;
run;
title;
footnote;
quit;  

goptions reset=all device=sasemf htext=1 ftext=complex ftitle=complex noborder ymax=4in xmax=6in;

ods rtf file=".\test1.rtf" nogfootnote nogtitle;

title1 'THIS IS TEST';
proc greplay igout=WORK.gseg gout=WORK.mtemp tc=WORK.tmplt template=sid1 nofs;
 	tdef sid1 des='Side 1'
                   1/llx=0   lly=0 ulx=0   uly=100                  
                   urx=100   ury=100 lrx=100  lry=0 color=white;
    template sid1;
    treplay 1:gplot;
run;
quit;

ods rtf close;
title;
footnote;



 

1 REPLY 1
ChrisNZ
Tourmaline | Level 20

Best to contact tech support for this one. This is what I get using 9.4:

Capture.PNG

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1224 views
  • 0 likes
  • 2 in conversation