United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4984338 : printing text using Courier New bold results in incorrect spacing

Details
Type:
Bug
Submit Date:
2004-01-27
Status:
Resolved
Updated Date:
2004-03-30
Project Name:
JDK
Resolved Date:
2004-01-27
Component:
client-libs
OS:
windows_98
Sub-Component:
2d
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
1.4.2
Fixed Versions:
1.4.2_05 (05)

Related Reports
Backport:

Sub Tasks

Description
Some characters overlap because of incorrect spacing.  This happens on Win 98 and specifically HP Laserjet 2100 PCL5e driver.  Text uses "Courier New", bold style.

                                    

Comments
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
1.4.2_05
generic
tiger-beta

FIXED IN:
1.4.2_05
tiger-beta

INTEGRATED IN:
1.4.2_05
tiger-beta


                                     
2004-06-14
EVALUATION

=====================================
"The application is specifying a Font as "Courier New" and style Font.BOLD.
But the API we use to retrieve the font name to pass to API is the wrong
one (our bug) and we pass the full face name of "Courier New Bold".
So we pass that *and* the requirement for a bold style to GDI which then
lets the driver decide how it wants to handle this.  ie this meaning
"bold" of an already "bold" font.

In this case the PCL5e driver decides that it the way its going to handle this
is by creating extra bolded bitmaps from an already bold font which now looks
ugly as well as being badly spaced.
This probably isn't very frequently used code in the driver so its buggy and
gets the advances of the bitmaps wrong (a driver bug)." - prr

This is already fixed in tiger beta (b20).  Changes made for 4884389 fixed it.

###@###.### 2004-01-27
====================================
                                     
2004-01-27



Hardware and Software, Engineered to Work Together