[Rev 01] RFR: 8191758: Match WebKit's font weight rendering with JavaFX

Bhawesh Choudhary github.com+4208131+bhaweshkc at openjdk.java.net
Tue Apr 21 09:05:27 UTC 2020


> 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.

Bhawesh Choudhary has updated the pull request incrementally with one additional commit since the last revision:

  added unit test for 8191758

-------------

Changes:
  - all: https://git.openjdk.java.net/jfx/pull/180/files
  - new: https://git.openjdk.java.net/jfx/pull/180/files/d3d3e716..43c7cbf1

Webrevs:
 - full: https://webrevs.openjdk.java.net/jfx/180/webrev.01
 - incr: https://webrevs.openjdk.java.net/jfx/180/webrev.00-01

  Stats: 25 lines in 1 file changed: 25 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jfx/pull/180.diff
  Fetch: git fetch https://git.openjdk.java.net/jfx pull/180/head:pull/180

PR: https://git.openjdk.java.net/jfx/pull/180


More information about the openjfx-dev mailing list