Usage Note 16071: "WARNING: Font specification '<fontname>' failed" might be issued when specifying TrueType fonts using ODS PDF or ODS RTF
You can embed TrueType fonts in your PDF documents when using the Universal PDF printer or ODS PDF destination, and use customized fonts in the ODS RTF destinations. You can specify these fonts in the style sheet using the TEMPLATE procedure, such as:
'TitleFont' = ("Arial",13pt,Bold Italic)
Alternately, you can specify the font directly in your procedure and global statements, such as:
title1 f="Arial" "Title text";
With either method, you might get the following warning if you have not registered the TrueType font first:
WARNING: Font specification "Arial" failed.
Using default font family instead.
You need to register the fonts in SAS® before you can use them. This step needs to be completed once. The following statements register all TrueType fonts installed in the FONTS directory on a Windows system:
proc fontreg;
fontpath "%sysget(systemroot)\fonts";
run;
By default, the updates are written to the Sasuser library.
SAS Note 24321 "How can I create PDF files which embed my desired fonts?" shows how to register a specific font and use it with PROC TEMPLATE to define a custom style.
Operating System and Release Information
SAS System | Base SAS | Microsoft Windows XP Professional | 9.2 TS1M0 | |
Windows Vista | 9.2 TS1M0 | |
Solaris for x64 | 9.2 TS1M0 | |
OpenVMS on HP Integrity | 9.2 TS1M0 | |
Windows Vista for x64 | 9.2 TS1M0 | |
64-bit Enabled AIX | 9.2 TS1M0 | |
64-bit Enabled HP-UX | 9.2 TS1M0 | |
64-bit Enabled Solaris | 9.2 TS1M0 | |
HP-UX IPF | 9.2 TS1M0 | |
Linux | 9.2 TS1M0 | |
Linux for x64 | 9.2 TS1M0 | |
Microsoft Windows Server 2003 Standard Edition | 9.2 TS1M0 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS1M0 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS1M0 | |
Microsoft® Windows® for x64 | 9.2 TS1M0 | |
Microsoft Windows XP 64-bit Edition | 9.2 TS1M0 | |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 TS1M0 | |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 TS1M0 | |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS1M0 | |
z/OS | 9.2 TS1M0 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Date Modified: | 2005-08-31 12:56:07 |
Date Created: | 2005-08-31 12:56:07 |