RFR: 8191758: Match WebKit's font weight rendering with JavaFX
kcr at openjdk.java.net
Fri Apr 17 15:19:01 UTC 2020
On Tue, 14 Apr 2020 10:25:52 GMT, Bhawesh Choudhary <github.com+4208131+bhaweshkc at openjdk.org> wrote:
> As per JavaFx 700 font weight is considered to be bold but webkit is using 600 font weight for text to become bold. to
> fix issue, use boldWeightValue() function which uses 700 font weight rather than isFontWeightBold() which compare
> against 600 font weight.
Can you add a unit test to go along with this fix?
More information about the openjfx-dev