Problem Note 36097: Text in ODS PRINTER output might extend outside of its cell border
Newly available and licensed fonts are used in the default style applied to the ODS PRINTER destinations (PCL/PDF/PS). If these fonts are in effect, the table that is created by a procedure or by the DATA step might display the value of a text string extending past its cell boundaries into the cell to its right.
To circumvent the problem, do one of the following:
For additional information about the new fonts, see SAS Note 31474.
Operating System and Release Information
SAS System | Base SAS | Windows Vista | 9.2 TS1M0 | 9.3 TS1M0 |
64-bit Enabled AIX | 9.2 TS1M0 | 9.3 TS1M0 |
Microsoft Windows XP Professional | 9.2 TS1M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Standard Edition | 9.2 TS1M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS1M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS1M0 | 9.3 TS1M0 |
Microsoft® Windows® for x64 | 9.2 TS1M0 | 9.3 TS1M0 |
Microsoft Windows XP 64-bit Edition | 9.2 TS1M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 TS1M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 TS1M0 | 9.3 TS1M0 |
z/OS | 9.2 TS1M0 | 9.3 TS1M0 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS1M0 | 9.3 TS1M0 |
64-bit Enabled HP-UX | 9.2 TS1M0 | 9.3 TS1M0 |
64-bit Enabled Solaris | 9.2 TS1M0 | 9.3 TS1M0 |
HP-UX IPF | 9.2 TS1M0 | 9.3 TS1M0 |
Linux | 9.2 TS1M0 | 9.3 TS1M0 |
Linux for x64 | 9.2 TS1M0 | 9.3 TS1M0 |
OpenVMS on HP Integrity | 9.2 TS1M0 | 9.3 TS1M0 |
Solaris for x64 | 9.2 TS1M0 | 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.
The following code uses the Times font for titles, footnotes, data, and headers for tabular (non-graph) procedures.
ods path (prepend) work.template(update);
proc template;
define style Styles.times_Printer;
parent = styles.printer;
style fonts /
'TitleFont2' = ("Times",12pt,bold italic)
'TitleFont' = ("Times",13pt,bold italic)
'StrongFont' = ("Times",10pt,bold)
'EmphasisFont' = ("Times",10pt,italic)
'FixedEmphasisFont' = ("Courier",9pt,italic)
'FixedStrongFont' = ("Courier",9pt,bold)
'FixedHeadingFont' = ("Courier",9pt,bold)
'BatchFixedFont' = ("SAS Monospace, Courier",6.7pt)
'FixedFont' = ("Courier",9pt)
'headingEmphasisFont' = ("Times",11pt,bold italic)
'headingFont' = ("Times",11pt,bold)
'docFont' = ("Times",10pt);
end;
run;
ods pdf file="times_92.pdf" style=styles.times_printer;
data new;
a='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa';
b='bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb';
c='cccccccccccccccccccccccccccccccccccccc';
d='ddddddddddddddddddddddddddddddddddddddddd';
output;
run;
title;
proc report nowd data=new;
run;
ods pdf close;
A long text string might extend into the cell to its right in files created by ODS PCL, ODS PDF, or ODS PS.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2009-06-11 14:47:55 |
Date Created: | 2009-05-29 14:13:20 |