-
Bug
-
Resolution: Fixed
-
P3
-
7u40, 8, 8u112, 9
-
b161
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8176986 | 10 | Dmitry Batrak | P3 | Resolved | Fixed | b03 |
JDK-8183824 | 8u161 | Dmitry Batrak | P3 | Resolved | Fixed | b01 |
JDK-8175009 | 8u152 | Dmitry Markov | P3 | Resolved | Fixed | b02 |
JDK-8192559 | emb-8u161 | Dmitry Batrak | P3 | Resolved | Fixed | b01 |
Wrong rendering of diacritics on macOS
Reproduced on 8u112 on a Mac running Sierra (10.12.1)
public class LabelWithDiacriticTest {
public static void main(String[] args) {
SwingUtilities.invokeLater(() -> {
JLabel label = new JLabel("au0300"); // a with grave accent
label.setFont(new Font("Menlo", Font.PLAIN, 24));
JFrame frame = new JFrame();
frame.add(label);
frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
frame.pack();
frame.setLocationRelativeTo(null);
frame.setVisible(true);
});
}
}
To reproduce the issue, run the attached sample program. It's expected to
show text label with 'a' character, with grave accent applied. Instead it
shows label with 'a' and grave accent rendered separately.
- backported by
-
JDK-8175009 [macosx] Wrong rendering of diacritics on macOS
- Resolved
-
JDK-8176986 [macosx] Wrong rendering of diacritics on macOS
- Resolved
-
JDK-8183824 [macosx] Wrong rendering of diacritics on macOS
- Resolved
-
JDK-8192559 [macosx] Wrong rendering of diacritics on macOS
- Resolved