Review for RT-35535 - better provide for embedded font fallback
David.Hill at Oracle.com
Tue Feb 18 17:09:31 PST 2014
I have a review request for
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:
And.... my documenting fonts (at least on Linux) page on the Wiki:
David Hill <David.Hill at 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)
More information about the openjfx-dev