How to load own font from CSS file into JavaFX application (I'm using now JDK 8u45) -


when used jdk 8u11 see in application text in own font. when upgraded java jdk 8u45 see font wasn't loaded. can't see warning in console in eclipse (i'm using luna). used css, not working.

@font-face {     font-family: 'my-font';     src: url('../font/my-font.otf'); } 

can me?


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -