From: Peter Crawford on
On Fri, 6 Nov 2009 09:08:05 -0600, Masoud Pajoh <mpajoh(a)ODOT.ORG> wrote:

>I would like to use the font "Comic Sans Ms", but when I use the
>following font reverses to the default font.
>
>title1 f=ComicSansMS h=10pt "Some title";
>
>How can I do this?
>
>Thanks,
>
>Masoud

font name with spaces all surrounded in quotes seems to avoid a Warning

499 ods rtf file='demo.rtf' ;
NOTE: Writing RTF Body file: demo.rtf
500 title1 f=ComicSansMS h=10pt "Some title";
501 proc print data= sashelp.class;
502 run;

WARNING: Font specification "ComicSan" failed. Using default font family
instead.
NOTE: There were 19 observations read from the data set SASHELP.CLASS.
NOTE: PROCEDURE PRINT used (Total process time):
real time 0.25 seconds
user cpu time 0.04 seconds
system cpu time 0.03 seconds
Memory 989k
OS Memory 83832k
Timestamp 06/11/2009 15:40:55


503 ods rtf close ;
504 ods rtf file='demo.rtf' ;
NOTE: Writing RTF Body file: demo.rtf
505 title1 f="Comic Sans MS" h=10pt "Some title";
506 proc print data= sashelp.class;
507 run;


PeterC
From: Masoud Pajoh on
I had done that, the warning remains, and the font reverts to the default!
Here the message:
WARNING: Font specification "Comic Sans MS" failed. Using default font
family instead.

My SAS is 9.1.3 SP4.

Thanks,

Masoud





Peter Crawford <peter.crawford(a)BLUEYONDER.CO.UK>
Sent by: "SAS(r) Discussion" <SAS-L(a)LISTSERV.UGA.EDU>
11/06/2009 09:42 AM
Please respond to
Peter Crawford <peter.crawford(a)BLUEYONDER.CO.UK>


To
SAS-L(a)LISTSERV.UGA.EDU
cc

Subject
Re: font question






On Fri, 6 Nov 2009 09:08:05 -0600, Masoud Pajoh <mpajoh(a)ODOT.ORG> wrote:

>I would like to use the font "Comic Sans Ms", but when I use the
>following font reverses to the default font.
>
>title1 f=ComicSansMS h=10pt "Some title";
>
>How can I do this?
>
>Thanks,
>
>Masoud

font name with spaces all surrounded in quotes seems to avoid a Warning

499 ods rtf file='demo.rtf' ;
NOTE: Writing RTF Body file: demo.rtf
500 title1 f=ComicSansMS h=10pt "Some title";
501 proc print data= sashelp.class;
502 run;

WARNING: Font specification "ComicSan" failed. Using default font family
instead.
NOTE: There were 19 observations read from the data set SASHELP.CLASS.
NOTE: PROCEDURE PRINT used (Total process time):
real time 0.25 seconds
user cpu time 0.04 seconds
system cpu time 0.03 seconds
Memory 989k
OS Memory 83832k
Timestamp 06/11/2009 15:40:55


503 ods rtf close ;
504 ods rtf file='demo.rtf' ;
NOTE: Writing RTF Body file: demo.rtf
505 title1 f="Comic Sans MS" h=10pt "Some title";
506 proc print data= sashelp.class;
507 run;


PeterC
From: Peter Crawford on
aaaah
I'm on SAS9.2
sounds like a good reason to upgrade your system?

Peter