SUPPORT / SAMPLES & SAS NOTES
 

Support

Usage Note 15682: Font-loading error messages might occur when you invoke SAS®9

DetailsAboutRate It

When you start SAS 9, one or more of the following warning messages might appear:

Warning: Could not load SASfont Warning: Could not load SAS Monospace font Warning: Could not load SAS Monospace Bold font

This problem might be due to corrupted or missing SAS font files.

One option is to use the workaround and designate a different font to use in your SAS session. See the WORKAROUND section below.

Another option to circumvent the problem is to keep SAS fonts as the default and reinstall the fonts. To accomplish that, use the fonts supplied in your SAS installation or download the SASfonts ZIP file from the SAS website, delete the current SAS fonts (if installed), and reinstall the new fonts.

SAS Monospace fonts and SASfont are supplied in the current installation folders:

For SAS 9.1: There are 17 files are in C:\Program Files\SAS\SAS 9.1\core\resource.
For SAS 9.2: There are 55 files are in C:\Program Files\SAS\SASFoundation\9.2\core\resource.
For SAS 9.3: The SASfont is supplied in C:\Program Files\SASHome\SASFoundation\9.3\core\resource.
For SAS 9.3 and 9.4: The SAS Monospace font is installed separately during the SAS install by selecting the item "Report Fonts for Clients". Install from the "SAS Software Depot" or SAS DVDs. The SAS Monospace fonts are installed into the default location C:\Program Files\SASHome\ReportFontsforClients\9.3\ or C:\Program Files\SASHOME\ReportFontsforClients\9.4\ 

If the files do not exist, download the appropriate SASfonts ZIP file:

  1. For SAS 9.1, download sas9fonts.zip.
    For SAS 9.2, download sas92fonts.zip.
    For SAS 9.3 32bit SASfont, download sas93-32-fonts.zip.
    For SAS 9.3 64bit SASfont, download sas93-64-fonts.zip.
    For SAS 9.3 SAS Monospace fonts, download RptFontClient93.zip.
    For SAS 9.4 SASfonts, download sasfonts94.zip.
  2. Unzip the file and save the files in a new empty directory. Make note of the directory location.

To delete the current SAS fonts if already installed, follow these steps:

  1. Select Start ► Settings ► Control Panel ► Fonts.
  2. Delete SAS Monospace, SAS Monospace Bold, and Sasfont 1252 Character Set.

To install new fonts, do the following:

On Microsoft Windows XP:

  1. In the Fonts window, select File ► Install New Font.
  2. Change to the drive and directory where you unzipped the SAS fonts as noted above.
  3. Click the Select All button to highlight all of the fonts listed.
  4. Click OK to close the Add Fonts window.
  5. Verify that the three SAS fonts are listed in the Fonts window.

On Microsoft Windows 7 and Windows 10 (you must be an administrator on the machine):

  1. In the Fonts window, select File ► Install New Font.
  2. Change to the drive and directory where you unzipped the SAS fonts as noted above.
  3. Click the Select All button to highlight all of the fonts listed.
  4. Click OK to close the Add Fonts window.
  5. Verify that the three SAS fonts are listed in the Fonts window.

On Windows 10, in the Search box, type Font and select Font Settings. In the Fonts window, follow the instructions, such as to drag and drop the file to install it.

WORKAROUND

Make a backup copy of the C:\Program Files\SASHome\SASFoundation\9.4\nls\en\SASV9.cfg file. Then right-click on Notepad and select Run as administrator. In Notepad, select File ► Open and browse to C:\Program Files\SASHome\SASFoundation\9.4\nls\en\SASV9.cfg. In the SASv9.cfg file, at the very top add this one line:

   -FONT "Courier New" 10

Note: You can select a different font or font size, using a font that is currently installed.

Then, save the file and exit Notepad.

Start SAS to test and verify that there are no error messages.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemBase SASMicrosoft Windows XP Professional9.1 TS1M3
Microsoft Windows 2000 Professional9.1 TS1M3
Microsoft® Windows® for 64-Bit Itanium-based Systems9.219.2 TS2M3
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.219.2 TS2M3
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.219.2 TS2M3
Microsoft Windows XP 64-bit Edition9.219.2 TS2M3
Microsoft® Windows® for x649.219.2 TS2M3
Microsoft Windows Server 2003 Datacenter Edition9.219.2 TS2M3
Microsoft Windows Server 2003 Enterprise Edition9.219.2 TS2M3
Microsoft Windows Server 2003 Standard Edition9.219.2 TS2M3
Microsoft Windows Server 2003 for x649.219.2 TS2M3
Microsoft Windows Server 20089.219.2 TS2M3
Microsoft Windows Server 2008 for x649.219.2 TS2M3
Windows 7 Enterprise 32 bit9.219.2 TS2M3
Windows 7 Enterprise x649.219.2 TS2M3
Windows 7 Home Premium 32 bit9.219.2 TS2M3
Windows 7 Home Premium x649.219.2 TS2M3
Windows 7 Professional 32 bit9.219.2 TS2M3
Windows 7 Professional x649.219.2 TS2M3
Windows 7 Ultimate 32 bit9.219.2 TS2M3
Windows 7 Ultimate x649.219.2 TS2M3
Windows Vista9.219.2 TS2M3
Windows Vista for x649.219.2 TS2M3
Microsoft Windows 8 Enterprise x649.49.4 TS1M0
Microsoft Windows 8 Pro x649.49.4 TS1M0
Microsoft Windows 8.1 Enterprise 32-bit9.49.4 TS1M0
Microsoft Windows 8.1 Enterprise x649.49.4 TS1M0
Microsoft Windows 8.1 Pro 32-bit9.49.4 TS1M0
Microsoft Windows 8.1 Pro x649.49.4 TS1M0
Microsoft Windows 109.49.4 TS1M0
Microsoft Windows Server 2008 R29.49.4 TS1M0
Microsoft Windows Server 2012 Datacenter9.49.4 TS1M0
Microsoft Windows Server 2012 R2 Datacenter9.49.4 TS1M0
Microsoft Windows Server 2012 R2 Std9.49.4 TS1M0
Microsoft Windows Server 2012 Std9.49.4 TS1M0
Microsoft Windows 8 Enterprise 32-bit9.4_M69.4 TS1M6
Microsoft Windows 8 Pro 32-bit9.4_M69.4 TS1M6
Microsoft Windows Server 20169.4_M69.4 TS1M6
Microsoft Windows Server 20199.4_M69.4 TS1M6
* 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.