SVG, SVGT, SVGVIEW,
and SVGZ1
|
|
SASEMF, SASWMF2
|
|
EMF universal printer2
|
|
PNG, UEMF, SASEMF 1
|
|
PNG, PNGT, PNG300, GIF,
JPEG, SASBMP, SVG, SVGT 1
|
|
1If the NOFONTRENDERING option is set, SVG uses the FreeType library only for measuring the text. The font rendering is done by the browser using system installed fonts. | |
2These devices use the FreeType library only for measuring text. The final font rendering is done by an application such as Microsoft Word, which displays the output using system installed fonts. |
OPTIONS
FONTRENDERING= FREETYPE_POINTS | HOST_PIXELS
to change
the rendering method for devices that support both FreeType library
and host rendering.
serif fixed1
|
||
1Fixed refers to uniform spacing. |
Monotype Sorts1
|
Not applicable1
|
Not applicable1
|
|
42 symbols2
|
|||
42 symbols2
|
|||
42 symbols2
|
|||
42 symbols2
|
|||
42 symbols2
|
|||
42 symbols2
|
|||
42 symbols2
|
|||
42 symbols2
|
|||
1SAS Monotype Sorts is an ornamental font consisting of shapes, symbols, and decorative glyphs that have no one-to-one mapping to Microsoft TrueType or Adobe Type1 fonts. However, the SAS Monotype Sorts font closely resembles Microsoft "Wingdings" TrueType and Adobe "ITC Zapf Dingbats" Type1 fonts. | |||
2These fonts have special glyphs for the Latin characters 0, <. =, C, D, L, M, N, P, R, S, U, V ,W, X, Z, and a–z. All other characters are undefined and might be rendered as a rectangle. For example, in the HTML destination, the rectangle is replaced with the matching Latin1 character when it is displayed in Internet Explorer. |
Monotype Sans WT 1
|
||
Thorndale Duospace WT
J1
|
||
Monotype Sans WT K1
|
||
Thorndale Duospace WT
K1
|
||
Monotype Sans WT SC1
|
||
Thorndale Duospace WT
SC1
|
||
Monotype Sans WT TC1
|
||
Thorndale Duospace WT
TC1
|
||
1Both Thorndale Duospace WT and Monotype Sans WT support HKSCS (Hong Kong Supplement Character Set) and substantially support the GB18030 standard. |
Traditional Chinese1
|
||
1HeiT, MingLiU, MingLiU_HKSCS, and PMingLiu support HKSCS2004 (Hong Kong Supplemental Character Set) characters. |
.pfb 1
|
||
1Data
from a .pfm file is used to generate output using the |
pathname
is the directory
path of the fonts.proc fontreg;
fontpath 'pathname';
run;
C:\WINNT\Fonts
or C:\Windows\Fonts
directory.
For all other operating environments, contact your system administrator
for the location of the TrueType font files.
proc fontreg;
fontfile 'filename';
run;
/* Macro FONTLIST - Report fonts supported by a device */ %macro fontlist(type, name); proc qdevice report=font out=fonts; &type &name; var font ftype fstyle fweight; run; data; set fonts; drop ftype; length type $16; if ftype = "System" then do; if substr(font,2,3) = "ttf" then type = "TrueType"; else if substr(font,2,3) = "at1" then type = "Adobe Type1"; else if substr(font,2,3) = "cff" then type = "Adobe CFF/Type2"; else if substr(font,2,3) = "pfr" then type = "Bitstream PFR"; else type = "System"; if type ^= "System" then font = substr(font,7,length(font)-6); else if substr(font,1,1) = "@" then font = substr(font, 2,length(font)-1); end; else type = "Printer Resident"; run; proc sort; by font; run; title "Fonts Supported by the %upcase(&name) &type"; proc print label; label fstyle="Style" fweight="Weigth" font="Font" type="Type"; run; %mend fontlist; %fontlist(printer, pdf) %fontlist(device, pdf) %fontlist(device, win) %fontlist(printer, png) %fontlist(device, pcl5c)
ttf
enclosed in angle
brackets (< >), and Type1 fonts are indicated by the letters at1
enclosed
in angle brackets (< >). For example, the TrueType font Albany
AMT
is listed as <ttf>
Albany AMT
Times
is
listed as <at1> Times
. The three-character
tag enclosed in angle brackets makes the distinction between the
different types of fonts with the same name, such as <ttf>
Symbol
Symbol
font
that resides on a physical printer. Fonts that do not have a <ttf> tag
<at1>
<ttf> Symbol
.
Title1 f="Albany AMT" "Text in Albany AMT";
Title1 f="Albany AMT/Italic/Bold" "Text in Bold Italic Albany AMT";
options sysprintfont=("Albany AMT");
options sysprintfont=("Arial" bold italic 14);
sasprt.pdf
, with a
title in the Albany AMT font that uses bold face and is italicized.options printerpath=pdf device=sasprtc; ods printer; title1 color=black f="Albany AMT/Italic/Bold" "Sample Title in Bold Italic Albany AMT"; proc gplot data=sashelp.class; plot height*weight; run; quit; ods printer close;
print1.pdf
,
with the titles in the Albany AMT, Thorndale AMT, and Cumberland AMT
fonts.
filename out 'print2.pdf'; options printerpath=(pdf out) device=sasprtc; proc template; define style New_style / store = SASUSER.TEMPLAT; parent = styles.printer; replace fonts / 'docFont' = ("Thorndale Duospace WT J", 12pt) 'headingFont' = ("Albany AMT", 10pt, bold) 'headingEmphasisFont' = ("Albany AMT", 10pt, bold italic) 'TitleFont' = ("Albany AMT", 12pt, italic bold) 'TitleFont2' = ("Albany AMT", 11pt, italic bold) 'FixedFont' = ("Cumberland AMT", 11pt) 'BatchFixedFont' = ("Cumberland AMT", 6pt) 'FixedHeadingFont' = ("Cumberland AMT", 9pt, bold) 'FixedStrongFont' = ("Cumberland AMT", 9pt, bold) 'FixedEmphasisFont' = ("Cumberland AMT", 9pt, italic) 'EmphasisFont' = ("Albany AMT", 10pt, italic) 'StrongFont' = ("Albany AMT", 10pt, bold); end; run; ods printer style=New_style; proc print data=sashelp.class; title1 'Proc Print'; title2 'Templated ODS output'; run; ods printer close;
titles.png
.
It is printed ten Unicode characters.filename new 'titles.png'; options printerpath=(png new)device=sasprtc; ods printer; proc gslide; title1 "Printing Unicode code points"; title2 "double exclamation mark" f="Monotype Sans WT SC/Unicode" h=2 '203C'x; title3 "French Franc symbol " f="Monotype Sans WT SC/Unicode" h=3 '20A3'x; title4 "Lira symbol " f="Monotype Sans WT SC/Unicode" h=3 '20A4'x; title4 "Rupee symbol " f="Monotype Sans WT SC/Unicode" h=3 '20A8'x; title5 "Euro symbol " f="Monotype Sans WT SC/Unicode" h=3 '20Ac'x; title6 "Fraction, one third " f="Monotype Sans WT SC/Unicode" h=3 '2153'x; title7 "Fraction, one fifth " f="Monotype Sans WT SC/Unicode" h=3 '2155'x; title8 "Fraction one eighth " f="Monotype Sans WT SC/Unicode" h=3 '215B'x; title9 "Black Florette " f="Monotype Sans WT SC/Unicode" h=3 '273F'x; title10 "Black Star " f="Monotype Sans WT SC/Unicode" h=3 '2605'x; run; quit; ods printer close;
utf8.gif
.
It must be run with a UTF-8 server and requires a TrueType font that
contains the characters that are used. The table of character names
and the associated codes can be found on the Unicode Web site at http://www.unicode.org/charts
.
proc template; define style utf8_style / store = SASUSER.TEMPLAT; parent = styles.printer; replace fonts / 'docFont' = ("Monotype Sans WT J", 12pt) 'headingFont' = ("Monotype Sans WT J", 10pt, bold) 'headingEmphasisFont' = ("Monotype Sans WT J", 10pt, bold italic) 'TitleFont' = ("Monotype Sans WT J", 12pt, italic bold) 'TitleFont2' = ("Monotype Sans WT J", 11pt, italic bold) 'FixedFont' = ("Thorndale Duospace WT J", 11pt) 'BatchFixedFont' = ("Thorndale Duospace WT J", 6pt) 'FixedHeadingFont' = ("Thorndale Duospace WT J", 9pt, bold) 'FixedStrongFont' = ("Thorndale Duospace WT J", 9pt, bold) 'FixedEmphasisFont' = ("Thorndale Duospace WT J", 9pt, italic) 'EmphasisFont' = ("Monotype Sans WT J", 10pt, italic) 'StrongFont' = ("Monotype Sans WT J", 10pt, bold); end; run%macro utf8chr(ucs2); kcvt(&ucs2, 'ucs2b', 'utf8'); %mend utf8chr; %macro namechar(name, char); name="&name"; code=upcase("&char"); char=%utf8chr("&char"x); output; %mend namechar; data uft8char; length name $40; %namechar(Registered Sign, 00AE); %namechar(Cent Sign, 00A2); %namechar(Pound Sign, 00A3); %namechar(Currency Sign, 00A4); %namechar(Yen Sign, 00A5); %namechar(Rupee Sign, 20A8); %namechar(Euro Sign, 20Ac); %namechar(Dong Sign, 20Ab); %namechar(Euro-currency Sign, 20A0); %namechar(Colon Sign, 20A1); %namechar(Cruzeiro Sign, 20A2); %namechar(French Franc Sign, 20A3); %namechar(Lira Sign, 20A4); run; options printerpath=(gif out) device=sasprtc; filename out 'utf8.gif'; ods printer style=utf8_style; proc print; run; ods printer close;