Usage Note 9650: National Character Set Support for PDF, PCL, and GIF Printer
Support for national character sets is provided in SAS 9.1 by using the
FreeType library and TrueType fonts.
In order to get the locale-specific characters with PDF, PCL and
Universal GIF printers you have to do three things.
1) Determine which TrueType font(s) contain the character(s) you need
and be sure these fonts are installed on your system in a location
SAS can access.
2) Run PROC FONTREG to store the fonts in the printer Registry.
Below is a Windows example:
proc fontreg;
fontpath 'c:\winnt\fonts';
run;
3) Reference the fonts by name as listed in the Registry. The
Location is [\CORE\PRINTING\FREETYPE\FONTS].
In order to use the fonts in SAS/GRAPH applications, specify the font
name using the FTEXT or FTITLE on the GOPTIONS statement or the F=
options for the TITLE, FOOTNOTE or NOTE statements. For ODS
applications, simply substitute the requested font in the styles
template.
Partial embedding is the default for PDF FreeType font support. Partial
embedding means only the characters specified in the document are
included with the document. Full embedding, where all the characters
available in the font are included in the document, is not supported in
this release.
In SAS 9.1, the only other option is NO embedding. You can select NO
embedding by changing the value to 0 in the following registry key.
[\CORE\PRINTING\PRINTERS\PDF\ADVANCED\Font Embedding Level]
Examples:
SAS/GRAPH:
goptions dev=sasprtc ftext='Arial';
title3 f='Arial/Bold' ' Text in Arial/Bold';
ODS:
The styles template will simply request a font, such as 'Arial' for one
of the values in the template.
You can define multiple fonts for each of the following font styles.
%let arial='Arial';
%let tnr="Times New Roman";
proc template;
define style Styles.def;
parent=styles.default;
replace fonts /
'docFont' = (&arial, 12pt)
'docFont' = (&tnr, 12pt)
'headingFont' = (&tnr, 10pt, bold)
'headingEmphasisFont' = (&tnr, 10pt, bold italic)
'FixedFont' = (&tnr, 8pt)
'BatchFixedFont' = (&tnr, 22pt)
'FixedHeadingFont' = (&tnr, 22pt, bold)
'FixedStrongFont' = (&tnr, 22pt, bold)
'FixedEmphasisFont' = (&tnr, 8pt, italic)
'EmphasisFont' = (&tnr, 9pt, italic)
'StrongFont' = (&tnr, 9pt, bold)
'TitleFont' = (&arial, 12pt, italic bold)
'TitleFont2' = (&tnr, 11pt, italic bold)
;
/* more code */
end;
run;
Operating System and Release Information
SAS System | Base SAS | Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M0 | |
Microsoft Windows 2000 Professional | 9.1 TS1M0 | |
Microsoft Windows NT Workstation | 9.1 TS1M0 | |
Microsoft Windows 2000 Server | 9.1 TS1M0 | |
Microsoft Windows 2000 Advanced Server | 9.1 TS1M0 | |
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M0 | |
HP-UX IPF | 9.1 TS1M0 | |
Linux | 9.1 TS1M0 | |
z/OS | 9.1 TS1M0 | |
64-bit Enabled Solaris | 9.1 TS1M0 | |
64-bit Enabled AIX | 9.1 TS1M0 | |
OpenVMS Alpha | 9.1 TS1M0 | |
64-bit Enabled HP-UX | 9.1 TS1M0 | |
Microsoft Windows XP Professional | 9.1 TS1M0 | |
Tru64 UNIX | 9.1 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.
Type: | Usage Note |
Priority: | |
Topic: | SAS Reference ==> ODS (Output Delivery System)
|
Date Modified: | 2004-07-07 14:56:15 |
Date Created: | 2003-03-20 10:23:38 |