[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-openjfx-dev
Subject:    8139838: Bug in PrismFontFactory generates NullPointerException when loading .ttc font
From:       Phil Race <philip.race () oracle ! com>
Date:       2016-05-19 22:00:32
Message-ID: 573E3780.3010901 () oracle ! com
[Download RAW message or body]

Bug: https://bugs.openjdk.java.net/browse/JDK-8139838
webrev : http://cr.openjdk.java.net/~prr/8139838/

Adds loadFonts() equivalents of the existing loadFont().
The existing loadFont() will now not NPE and will just return the first 
font in the collection.
I have tested this on Mac, Linux and Windows using the included manual 
LoadFonts.java test
and supplying fonts that are not platform fonts. I also verified the 
temp files are cleaned up.

-phil.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic