[OpenJDK 2D-Dev] RFR: 8204929: Fonts with embedded bitmaps are not always rotated

Philip Race philip.race at oracle.com
Fri Jun 15 01:23:45 UTC 2018


Bug : https://bugs.openjdk.java.net/browse/JDK-8205046
Webrev : http://cr.openjdk.java.net/~prr/8204929/

The submitter was using MS UI Gothic which has embedded bitmaps.
When rotating text the baseline was rotated, and the glyphs positioned 
appropriately
but the images themselves were not rotated.

This is because unless you tell freetype not to select embedded bitmaps, 
it will select
them even under conditions such as rotation, or anti-aliasing.

-phil.




More information about the 2d-dev mailing list