Loading Helvetica Neue Light font?
David.Hill at Oracle.com
Mon Aug 3 13:25:01 UTC 2015
On 8/3/15, 9:13 AM, Tobias Bley wrote:
> does anybody know how to use or load the „Helvetica Neue Light“ font in JavaFX?
> Font font = Font.font("Helvetica Neue", FontWeight.EXTRA_LIGHT,FontPosture.REGULAR, 16.0);
> => gives me the medium style font:
> font = Font[name=Helvetica Neue Medium, family=Helvetica Neue, style=Medium, size=16.0]
I wrote this wiki page up a while back, while trying to understand fonts .... :-)
A lot of fonts depend on your platform too, which you did not mention.
can give some good hints.
If you have suggestions to add to the page let me know.
David Hill<David.Hill at Oracle.com>
Java Embedded Development
"A man's feet should be planted in his country, but his eyes should survey the world."
-- George Santayana (1863 - 1952)
More information about the openjfx-dev