Duplicate :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
FULL PRODUCT VERSION : java version "1.4.2_05" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04) Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode) ADDITIONAL OS VERSION INFORMATION : Microsoft Windows XP [Version 5.1.2600] A DESCRIPTION OF THE PROBLEM : The character '8' is not rendered properly when using Tahoma plain 11 pt font (corresponds to Windows "native" font Tahoma 8). REPRODUCIBILITY : This bug can be reproduced always. ---------- BEGIN SOURCE ---------- import java.awt.*; import javax.swing.*; public class TahomaFontTest extends JFrame { public TahomaFontTest() { JTextField tf = new JTextField("88888"); tf.setFont(new Font("Tahoma", Font.PLAIN, 11)); getContentPane().add(tf); pack(); setVisible(true); } public static void main(String[] args) { try { UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) { e.printStackTrace(); } new TahomaFontTest(); } } ---------- END SOURCE ---------- CUSTOMER SUBMITTED WORKAROUND : Use JRE 1.3.x :( ###@###.### 2005-1-28 19:09:19 GMT
|