JDK-8202696 : Remove exclusion range for phonetic chars in windows fontconfig.properties
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 8u31,9,10
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-05-07
  • Updated: 2019-02-06
  • Resolved: 2018-06-25
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 JDK 8 Other
11 b20Fixed 12Fixed 8u181Fixed openjdk8u212Fixed
simple Form without database access that contains only one text object. 
If we add the characters ᴈᴙᴛᴭᴽᴟ into this 

text object only blank squares will be shown:

If we now append the character ฿ ("Thai currency symbol baht"; Unicode 
Code Point 0E3F)  the output will be shown correctly :

Updated webrev after incorporating review comments - http://cr.openjdk.java.net/~dkumar/8202696/webrev.02/

Updated webrev for review - http://cr.openjdk.java.net/~dkumar/8202696/webrev.01/

Webrev for review - http://cr.openjdk.java.net/~dkumar/8202696/webrev.00/

On windows, looks like thai characters which are not getting rendered properly, lies in font exclusion range. These exclusions are mentioned in fontconfig.properties file. The other scenario mentioned in the above example where 'baht' character is added then these characters render properly. In this case actually font exclusion is not coming into the flow.

This issue is only reproducible on Windows and not reproducible on Mac and Ubuntu. The same issue could be seen in JTextArea, and JLabel as well. JFrame title is showing the the text correctly.