On 8/24/13 10:25 AM, Peter Penzov wrote:
I found these post how to embed fonts:
http://thierrywasyl.wordpress.com/2013/01/27/set-custom-font-in-javafx-2/
http://stackoverflow.com/questions/16855677/how-to-embed-ttf-fonts-is-javafx-2-2

Do you think that it's a good idea to embed a font and use it on every OS?
Maybe I will have future problems doing this?

Its up to you, If you want a consistent font across platforms and releases
then you'd want to do this as the standard behaviour of picking up the platform font means it'll be entirely up to 1) the O/S vendor, 2) the end-user config what that maps to.


On Sat, Aug 24, 2013 at 8:18 PM, Jasper Potts <[email protected]>wrote:

Windows XP = Tahoma 8pt
Windows Vista or newer = Segoe UI 12,15 or 18 depending on user large font
setting
Mac = Lucida Grande 13
Linux = I am not 100% sure think Lucida Sans 12

That was true a long time ago but since 2.0 FCS we should be picking up
whatever is the platform default UI font, as defined by libfontconfig's 'sans' font.

-phil.


Jasper

On Aug 24, 2013, at 7:55 AM, Richard Bair <[email protected]> wrote:

It depends on the platform. We choose as the default whatever the OS
tells us the font should be.
Richard

On Aug 24, 2013, at 2:32 AM, Peter Penzov <[email protected]>
wrote:
Hi,
  Can you tell me what is the default text Font in JavaFX 2.2 and JavaFX
8?

Reply via email to