[OpenJDK 2D-Dev] [11u] java/awt/FontMetrics/MaxAdvanceIsMax.java test failure (was: [11u] RFR 8210782: Upgrade HarfBuzz to the latest 2.3.1)

Martin Balao mbalao at redhat.com
Fri May 17 20:20:23 UTC 2019


On 5/16/19 6:55 AM, Lindenmaier, Goetz wrote:
> that's a good point.
> First, I will check whether the bundled freetype fixes the issue.
> Then, I can have a look how to adapt the test, some whitebox
> functionality maybe.
> 

Indeed, it's a good point the one Andrew brought.

I've checked FT_GlyphSlot_Oblique and FT_GlyphSlot_Embolden internal
values (in
jdk11u/src/java.desktop/share/native/libfreetype/src/base/ftsynth.c) and
look aligned to what 8218854 set in
jdk11u/src/java.desktop/share/native/libfontmanager/freetypeScaler.c.

The test still depends on the system installed fonts, but that would be
easier to fix because we can assert on some fonts only (filtered by name).

@Goetz: I couldn't reproduce here -with the fonts and FreeType binaries
I have- but if, using the bundled FreeType library, you find a font file
that is causing a failure, please send it to me so I can try to reproduce.


More information about the jdk-updates-dev mailing list