This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information

Which Fonts does JVx use?

General questions regarding the development with JVx.

Which Fonts does JVx use?

Postby johnit » Mon Jan 14, 2019 11:51 am

Is there a list of Fonts for a JVx application?

It's important for me to know which Fonts are used to avoid possible license issues.
johnit
 
Posts: 45
Joined: Fri Nov 16, 2012 5:58 pm

Re: Which Fonts does JVx use?

Postby Support@SIB » Mon Jan 14, 2019 11:54 am

JVx doesn't use specific fonts, only default Java fonts, see Java Font configuration.

To get a list of all available default font family names, simply use the factory and call:

Code: Select all
factory.getAvailableFontFamilyNames();

In our Swing UI implementation, the Graphics environment will be used to determine the available fonts:

Code: Select all
GraphicsEnvironment.getLocalGraphicsEnvironment().getAvailableFontFamilyNames()
User avatar
Support@SIB
 
Posts: 353
Joined: Mon Sep 28, 2009 1:56 pm


Return to Development