On Microsoft Windows systems, ODS RTF uses files from the Fonts directory on the system (Settings => Control Panel => Fonts) in addition to those listed in the SAS registry to provide fonts for the RTF files it creates. The list of available fonts can be generated with the following code in SAS® 9.1.3:
proc registry startat="\CORE\PRINTING\PSL\FONTS" list;
run;
Starting in SAS® 9.2, the following registry location provides the list of available fonts for ODS RTF:
proc registry startat="\CORE\PRINTING\FREETYPE\FONTS" list;
run;
From a Windows Start menu, the fonts listed from Settings => Control Panel => Fonts are also available to the ODS RTF file if the SAS option NOUNIVERSPRINT is in effect. If a desired font like Courier New is listed there, click the right mouse button on the name and choose Properties to find the .ttf file(s) that define(s) the font. This can be moved to the desired non-Windows location, or on Windows systems, can be used directly to run the PROC FONTREG code shown below. In the case of the Courier New font specifically, it is also recommended to move the files: cour.ttf, couri.ttf, courbd.ttf and courbi.ttf, which allow italicizing and bolding of that font.
Use the PROC FONTREG code below (presuming the TTF files are saved to the /TMP directory) to add the font to the SAS registry, where it will be available to the ODS RTF code in that SAS session:
proc fontreg; * USESASHELP; fontpath "/tmp";
run;
NOTE: If you need to make the font available to all users on that machine, you must run the code with an administrative ID and use the USESASHELP option that is commented out in the code above.
It is also important that the font be installed on any location where the RTF file is viewed, as Microsoft Word needs the font to be available to correctly render the file with the desired font name.