0 Replies Latest reply on Feb 29, 2012 2:48 PM by jmart

    using fonts when launching from JNLP


      I followed the directions in this link http://fxexperience.com/2010/05/how-to-embed-fonts/ and was able to add and use fonts in my javafx program when launched from Netbeans. But when I try to launch from JNLP, the fonts do not show up (the text shows up as Arial).

      Is there something special I need to do to access the fonts in the jar and utilize them?

      As the link directed I created a fonts folder in my src folder where I store all the .ttf file, and created a fonts.mf file in META-INF where I map a name to the font file. Works fine when launching from netbeans.

      thanks in advance for your help