jfxtras-font-roboto

15 views
Skip to first unread message

tbeernot

unread,
Jan 10, 2016, 1:09:40 PM1/10/16
to jfxtras-dev@googlegroups.com (via tbeernot@gmail.com)
FYI

I've just added a new type of artifact to JFXtras: resources. The first is a one with Google's Roboto font. By simply including the jfxtras-font-roboto artifact and calling JFXtrasFontRoboto.loadAll(), all of the font types are loaded and registered, so they can be used in CSS and the style property.

I still have chosen to included the exact font file used by gauges in the jar itself, because the Roboto artifact adds 2.5MB of TTF files and that may be a problem on smaller devices, but on desktop this may be a convenient solution. Let's see if it is appreciated.

Tom
Reply all
Reply to author
Forward
0 new messages