-
Bug
-
Resolution: Unresolved
-
P4
-
None
-
6
-
x86
-
linux
FULL PRODUCT VERSION :
ADDITIONAL OS VERSION INFORMATION :
Fedora 7
SLED10 SP1
A DESCRIPTION OF THE PROBLEM :
There are a few fonts to select, which cause of painting "selection space" with height in two times smaller than height of selected text.
I've reproduce this with Cursor, Standard Symbols L, Ellinia CLM
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1) set for example "Cursor" font to JTextPane
2) type there some text.
3) select typed text
ERROR MESSAGES/STACK TRACES THAT OCCUR :
JFrame frame = new JFrame();
JTextPane textPane = new JTextPane();
textPane.setFont(new Font("Cursor", Font.PLAIN, 14));
frame.add(textPane);
frame.setSize(300,300);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setLocationRelativeTo(null);
frame.setVisible(true);
REPRODUCIBILITY :
This bug can be reproduced always.
ADDITIONAL OS VERSION INFORMATION :
Fedora 7
SLED10 SP1
A DESCRIPTION OF THE PROBLEM :
There are a few fonts to select, which cause of painting "selection space" with height in two times smaller than height of selected text.
I've reproduce this with Cursor, Standard Symbols L, Ellinia CLM
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1) set for example "Cursor" font to JTextPane
2) type there some text.
3) select typed text
ERROR MESSAGES/STACK TRACES THAT OCCUR :
JFrame frame = new JFrame();
JTextPane textPane = new JTextPane();
textPane.setFont(new Font("Cursor", Font.PLAIN, 14));
frame.add(textPane);
frame.setSize(300,300);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setLocationRelativeTo(null);
frame.setVisible(true);
REPRODUCIBILITY :
This bug can be reproduced always.