Is there a way to read Open Type Fonts in Java the same way as i do it with TrueType Fonts ?
This works perfectly for TTF but i did not figure out yet how to do the same with Open Type Fonts.
Font f = Font.createFont( Font.TRUETYPE_FONT,
new FileInputStream("f.ttf") );
Please note i cannot relay on installed fonts. I provide the font with my program but don't want to install it systemwide.