netbeans - How can I enable subpixel hinting on JDK7+ on OS X -
for reason version of oracle's jdk using using greyscale hinting instead of subpixel. noticing using netbeans 7.3 , dev nightly+jdk 8.
cfr. these pictures:
jdk 6 on left, vs jdk 8 on right (same behavior jdk 7)
how can force netbeans use subpixel hinting? have followed the faq here, without luck.
i know apple's jdk fine-tuned os x font rendering, find strange getting greyscale hinting instead of subpixel.
looks need turn on fractional metrics, this:
g2image.setrenderinghint(renderinghints.key_fractionalmetrics, renderinghints.value_fractionalmetrics_on);
see https://bugs.openjdk.java.net/browse/jdk-8023794, there's example program there test font aliasing well.
edit: openjdk 9 supports proper subpixel aa font rendering. see answer here how enable lcd subpixel antialiasing in swing on os x?
Comments
Post a Comment