On Thu, 24 Mar 2022 22:36:28 GMT, Nikita Gubarkov <d...@openjdk.java.net> wrote:

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

I can reproduce, but also cannot reproduce with same JVM option ` 
-Dsun.java2d.xrender=false -Dsun.java2d.opengl=false` on Mint Linux 20.03.

![repro](https://user-images.githubusercontent.com/123720/160788680-96da21f3-6436-48c4-bf48-7ea83adc0dcf.png)

Upper launched from shell, lower run from IDE. Interestingly when click broken 
glyph, it show a good  image.

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

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

Reply via email to