Hi all,

I have a review request for
Jira:       https://javafx-jira.kenai.com/browse/RT-35535
Webrev: http://cr.openjdk.java.net/~ddhill/RT-35535/

This change is to support certain embedded cases where Linux does not have 
FontConfig installed (usually to save overhead).

For this case we support specifying a font directory and a means of listing the 
fonts there (logicalfonts.properties) (Thanks Phil!).

Our JDK usually has the Lucida fonts installed at ./jre/lib/fonts.

The set of changes:
   a) provides an option to ignore fontconfig -Dprism.useFontConfig=false for 
testing purposes
   b) corrects where we look for lib/fonts relative to jfxrt.jar (we are in 
lib/ext now)
   c) when lib/fonts is found and logicalfonts.properties is not, guess at one.
   d) when zero fonts are found, mention it so we have a clue why CSS failed.

Other existing properties of interest:
   -Dprism.fontsdir=/opt/fonts
   -Dprism.debugfonts=true

And.... my documenting fonts (at least on Linux) page on the Wiki:
   https://wiki.openjdk.java.net/display/OpenJFX/Font+Setup

--
David Hill <david.h...@oracle.com>
Java Embedded Development

"Basic research is what I am doing when I don't know what I am doing."
-- Wernher von Braun (1912 - 1977)

Reply via email to