RFR: 8269806: Emoji rendering on Linux [v2]

Nikita Gubarkov duke at openjdk.java.net
Thu Mar 24 22:36:28 UTC 2022


> It was implemented in JetBrains Runtime a year ago and was ported & refactored for this PR
> It includes:
> - Bitmap glyph loading via Freetype
> - Manual scaling & transformation of bitmap glyphs with nearest-neighbor or bilinear-mipmap style algorithms depending on the text antialiasing hint
> - Storing BGRA glyphs in glyph cache & rendering them as plain images, as currently used XRender text drawing functions doesn't support colored glyphs
> - Small fixes in related code like null-checks which could cause NPE & comment typos

Nikita Gubarkov has updated the pull request incrementally with one additional commit since the last revision:

  8269806: Fix builds with old Freetype (before 2.5)

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/4798/files
  - new: https://git.openjdk.java.net/jdk/pull/4798/files/ccb864e5..5d99aee6

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=4798&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=4798&range=00-01

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

PR: https://git.openjdk.java.net/jdk/pull/4798



More information about the client-libs-dev mailing list