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

Bhawesh Choudhary github.com+4208131+bhaweshkc at openjdk.java.net
Tue Apr 21 16:34:11 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 refreshed the contents of this pull request, and previous commits have been removed. The
incremental views will show differences compared to the previous content of the PR. The pull request contains one new
commit since the last revision:

  added unit test for jdk-8191758

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

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

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

  Stats: 0 lines in 0 files changed: 0 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