Usage Note 45156: The ODS PDF statement might generate the error "ERROR:." that contains no text if the FONTSLOC system option is not set correctly
Beginning with SAS® 9.3, using the ODS PDF statement with an incorrect value or a blank value for the FONTSLOC system option might result in the following error message:
ERROR: Physical file does not exist xxxxxxxx.saswcur.ttf.
The following nondescriptive error message could also be generated:
A similar problem can occur if the fonts that are shipped with SAS software are not installed in the location that the FONTSLOC system option points to. The problem occurs because the default system font is a TrueType font that under normal circumstances resides in the directory that the FONTSLOC system option points to.
To determine the current setting of your FONTSLOC system option, submit the following statements to SAS and then check the new information that is written to the SAS log:
proc options option=fontsloc;
run;
One circumvention for this issue is to correct the problem with the FONTSLOC system option, making sure that it points to the correct location where all of the SAS fonts reside. With a correct installation of SAS, all of the SAS-supplied fonts (such as Albany AMT and Thorndale AMT) are installed in the following default fonts directory:
!sashome/ReportFontsforClients/9.4
This directory should then include approximately 55 .ttf font files. This is the SAS fonts directory that the FONTSLOC system option should point to.
Another circumvention for this issue is to add the following OPTIONS statement to your SAS code before the ODS PDF FILE= statement:
options sysprintfont="Courier";
Operating System and Release Information
SAS System | Base SAS | z/OS | 9.3 TS1M0 | |
Z64 | 9.3 TS1M0 | |
Microsoft® Windows® for x64 | 9.3 TS1M0 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.3 TS1M0 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.3 TS1M0 | |
Microsoft Windows Server 2003 Standard Edition | 9.3 TS1M0 | |
Microsoft Windows Server 2003 for x64 | 9.3 TS1M0 | |
Microsoft Windows Server 2008 | 9.3 TS1M0 | |
Microsoft Windows Server 2008 for x64 | 9.3 TS1M0 | |
Microsoft Windows XP Professional | 9.3 TS1M0 | |
Windows 7 Enterprise 32 bit | 9.3 TS1M0 | |
Windows 7 Enterprise x64 | 9.3 TS1M0 | |
Windows 7 Home Premium 32 bit | 9.3 TS1M0 | |
Windows 7 Home Premium x64 | 9.3 TS1M0 | |
Windows 7 Professional 32 bit | 9.3 TS1M0 | |
Windows 7 Professional x64 | 9.3 TS1M0 | |
Windows 7 Ultimate 32 bit | 9.3 TS1M0 | |
Windows 7 Ultimate x64 | 9.3 TS1M0 | |
Windows Vista | 9.3 TS1M0 | |
Windows Vista for x64 | 9.3 TS1M0 | |
64-bit Enabled AIX | 9.3 TS1M0 | |
64-bit Enabled HP-UX | 9.3 TS1M0 | |
64-bit Enabled Solaris | 9.3 TS1M0 | |
HP-UX IPF | 9.3 TS1M0 | |
Linux | 9.3 TS1M0 | |
Linux for x64 | 9.3 TS1M0 | |
Solaris for x64 | 9.3 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: | 2022-09-26 10:17:18 |
Date Created: | 2011-12-15 15:39:09 |