Usage Note 47079: An incorrect font might be used when using the Scalable Vector Graphics (SVG) device with ODS Graphics
An incorrect font might be used when generating Scalable Vector Graphics (SVG) graphs with ODS Graphics. This is most likely to occur when creating graphs with the ODS Listing destination and specifying the IMAGEFMT=SVG option in an ODS GRAPHICS statement.
The example code below illustrates this by generating an SVG graph with an incorrect font:
ods listing;
ods graphics / reset width=800px height=600px imagename='Cars' imagefmt=svg;
title height=1cm font='Arial' 'Cars by Origin';
proc sgplot data=sashelp.cars;
hbar origin;
run;
To circumvent the problem, specify the NOFONTEMBEDDING option in an OPTIONS statement, as follows:
options nofontembedding;
Operating System and Release Information
| SAS System | SAS/GRAPH | 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 | |
*
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.
An incorrect font might be used when generating Scalable Vector Graphics (SVG) graphs with ODS Graphics. This is most likely to occur when creating graphs with the ODS Listing destination and specifying the IMAGEFMT=SVG option in an ODS GRAPHICS statement.
| Date Modified: | 2012-07-30 15:19:31 |
| Date Created: | 2012-07-27 11:24:38 |