1 Reply Latest reply on Sep 12, 2012 9:41 PM by 810719

    Load OTF font from file

      I've read in several places, that java 6+ supports OTF fonts, yet I can not find, how one can load an OpenType font frm a file.
      There are numerous examples of how to load TTF fonts, by calling
      Font.createFont(Font.TRUETYPE_FONT, fontFile);
      but none seems to notice the glaringly obvious problem, that the OPENTYPE_FONT font type constant does not exist.

      So... is it possible? How is it possible?