I've come across something puzzling when using ODS RTF in conjunction with SAS/Graph. I have specified a font to use within my GOPTIONS in conjunction with a PROC GPLOT with a BY statement. Code below:
PROC GPLOT DATA=lab_screen;
WHERE PctChange IS NOT MISSING;
BY lbtestcd lbtest lbstresu;
PLOT PctChange * StudyDay = siteid / VAXIS=AXIS1;
RUN; QUIT;
TITLE3;
ODS RTF CLOSE;
ODS LISTING;
In my output file I am finding that the first 7 images are in Arial font but the remaining images (26) have reverted to the default font (simplex) in the graphic. There are no messgaes in the LOG regarding font issues within GPLOT.
Has anyone else come across this problem? I suspect this may be something I have to consult with the SAS technical helpdesk but I thought I'd try this forum first ...
You might try the suggestions in the note above and/or contact Tech Support for more help if the suggestions in the Tech Support note don't work for you.
(You might also try switching to another device driver that's compatible with RTF, like ACTXIMG instead of PNG, and see whether you still have the issue.)
Thanks for the information. Still slightly puzzled why it happens. But it does ... I'll try the ACTXIMG device driver (or something similar) and see if I can get the program works.