JDK-8214002 : Cannot use italic font style if the font has embedded bitmap
  • Type: Bug
  • Component: client-libs
  • Affected Version: 7,8,11,12
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2018-11-16
  • Updated: 2020-08-11
  • Resolved: 2018-12-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 12 Other
11.0.4Fixed 12 b24Fixed openjdk7uFixed
Related Reports
Duplicate :  
Relates :  
Description
Issue:
1. I ran Font2DTest Demo on Windows Server 2012 R2
2. Select
  Font: MS Mincho
  Range: Basic Latin
  Method: drawString
  Size: 24
  Style: Italic
But the style does not change to italic.

It seems it's side-effect for:
8204929: Fonts with embedded bitmaps are not always rotated

Initial review request:
http://mail.openjdk.java.net/pipermail/2d-dev/2018-November/009652.html

Test case's result is as follows:
=== Before fixed ===
>java FontGlyphCompare
OS is Windows Server 2012 R2
Exception in thread "main" java.lang.Exception: Test failed
�������������� at FontGlyphCompare.main(FontGlyphCompare.java:79)

=== After fixed ===
>java FontGlyphCompare
OS is Windows Server 2012 R2
Comments
Fix Request jdk8u release is affected by this bug, the same way jdk11u was. Patch is small and applies almost cleanly (just minor path changes to jdk11u patch).
12-07-2019

We've decided to put the jdk11u backport on-hold until an issue with JDK-8218854 (shown in macOS and Solaris) is fixed.
20-03-2019

Fix Request jdk11u release is affected by this bug. We need this bug fixed for JDK-8218854 [1] backport to jdk11u to work. Patch is very small and applies almost cleanly. Patch: http://cr.openjdk.java.net/~mbalao/webrevs/8214002/8214002.webrev.jdk11u.00/ -- [1] - https://bugs.openjdk.java.net/browse/JDK-8218854
14-03-2019