[OpenJDK 2D-Dev]  request for review: 8098853: [PIT] Fonts look much darker than before in the PIT build for b68
andrew.brygin at oracle.com
Wed Jul 15 14:32:08 UTC 2015
could you please review a fix for 8098853?
By default, we use 140 as lcd contrast value. However, on macosx
this value causes significant discrepancy with results of native
text rendering. Although perfect match is not achievable at the
moment, the lcd contrast 165 provides a bit better approximation
of the native text.
Let's consider to introduce a mean to adjust the lcd contrast in
swing applications. We have a set of font rendering hints (desktop
font hints), so let's populate this set with the TEXT_LCD_CONTRAST
hint. 165 is default value for macosx, and it can be adjusted using
Please take a look.
More information about the 2d-dev