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

Andrew Brygin abrygin at azul.com
Fri Jun 15 13:53:44 UTC 2018


Hello Phil,

 the change looks fine to me.

 There is another bug which reports the same problem for openjdk8:
 https://bugs.openjdk.java.net/browse/JDK-8163278
 Probably, it can be closed as a duplicate of 8204929.

Thanks,
Andrew

> On Jun 15, 2018, at 4:23 AM, Philip Race <philip.race at oracle.com> wrote:
> 
> 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