JDK-4984338 : printing text using Courier New bold results in incorrect spacing
Type:Bug
Component:client-libs
Sub-Component:2d
Affected Version:1.4.2
Priority:P4
Status:Resolved
Resolution:Fixed
OS:windows_98
CPU:generic
Submitted:2004-01-27
Updated:2004-03-30
Resolved:2004-01-27
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
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
14-06-2004
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
====================================