29.12.2013 Views

Base SAS 9.1.3 Procedures Guide - Acsu Buffalo

Base SAS 9.1.3 Procedures Guide - Acsu Buffalo

Base SAS 9.1.3 Procedures Guide - Acsu Buffalo

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

426 Program 4 Chapter 22<br />

Program<br />

Specify a font file to add. The FONTFILE statement specifies the complete path to a single<br />

font file.<br />

proc fontreg;<br />

fontfile ’your-font-file’;<br />

run;<br />

Log<br />

NOTE: PROCEDURE PRINTTO used (Total process time):<br />

real time<br />

0.03 seconds<br />

cpu time<br />

0.00 seconds<br />

20 proc fontreg;<br />

21 fontfile ’your-font-file’;<br />

22 run;<br />

SUMMARY:<br />

Files processed: 1<br />

Unusable files: 0<br />

Files identified as fonts: 1<br />

Fonts that were processed: 1<br />

Fonts replaced in the <strong>SAS</strong> registry: 0<br />

Fonts added to the <strong>SAS</strong> registry: 1<br />

Fonts that could not be used: 0<br />

NOTE: PROCEDURE FONTREG used (Total process time):<br />

real time<br />

0.17 seconds<br />

cpu time<br />

0.03 seconds<br />

Example 2: Adding All Font Files from Multiple Directories<br />

Procedure features:<br />

MSGLEVEL= option<br />

FONTPATH statement<br />

This example shows how to add all valid font files from two different directories and<br />

how to write detailed information to the <strong>SAS</strong> log.<br />

Program<br />

Write complete details to the <strong>SAS</strong> log. The MSGLEVEL=VERBOSE option writes complete<br />

details about what fonts were added, what fonts were not added, and what font files were not<br />

understood.<br />

proc fontreg msglevel=verbose;

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!