- 
    Type:
Bug
 - 
    Resolution: Fixed
 - 
    Priority:
  P3                     
     - 
    Affects Version/s: 1.4.0
 - 
    Component/s: client-libs
 
- 
        beta
 - 
        x86, sparc
 - 
        solaris, solaris_1
 - 
        Verified
 
Tested with Merlin-beta b20 on Solaris2.6, 7 and 8.
java version "1.4.0beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0beta-b20)
Java HotSpot(TM) Client VM (build 1.3.0rc3-Z, interpreted mode)
Strings drawn by graphics2D.drawString are not printed properly for some Font(listed below) and BOLD style with PrinterJob.
SansSerif/BOLD
DialogInput/BOLD
Dialog/BOLD
The intervals between characters are wider than other styles.
In addition, as to Dialog/BOLD, each inverval is not equal.
Strings can be printed properly with SansSerif, DialogInput, Dialog/PLAIN, ITALIC, BOLDITALIC Styles.
Serif and Monospaced can work fine for all Styles.
To reproduce,
1. Compile an attached program(PrintFont.java) with merlin.
2. Run PrintFont
This program sends an order to print a sample strings with all Fonts/PLAIN, BOLD, ITALIC to a printer.
Please check the results, according to the description above.
Tested with Kestrel on Solaris2.6, 7 and 8.
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, interpreted mode)
There is some problem about DialogInput.
The same phenomenon as merlin is seen for DialogInput/BOLD.
The intervals between characters are wider than other font.
In addtion, a different Font seems to be used for printing between DialogInput/BOLD and DialogInput/PLAIN,ITALIC.
To reproduce,
Please run PrintFont with kestrel and check the result of DialogInput.
- relates to
 - 
                    
JDK-4364227 drawString + PrinterJob does not work well with Japanese for BOLD style.
-         
     - Closed
 
 -