Lines Matching defs:fontFormat
606 private Font(File fontFile, int fontFormat,
614 this.font2DHandle = fm.createFont2D(fontFile, fontFormat, isCopy,
857 * @param fontFormat the type of the <code>Font</code>, which is
863 * @throws IllegalArgumentException if <code>fontFormat</code> is not
872 public static Font createFont(int fontFormat, InputStream fontStream)
876 return createFont0(fontFormat, fontStream, null);
888 return createFont0(fontFormat, fontStream, tracker);
898 private static Font createFont0(int fontFormat, InputStream fontStream,
902 if (fontFormat != Font.TRUETYPE_FONT &&
903 fontFormat != Font.TYPE1_FONT) {
968 Font font = new Font(tFile, fontFormat, true, tracker);
1010 * @param fontFormat the type of the <code>Font</code>, which is
1026 * @throws IllegalArgumentException if <code>fontFormat</code> is not
1037 public static Font createFont(int fontFormat, File fontFile)
1042 if (fontFormat != Font.TRUETYPE_FONT &&
1043 fontFormat != Font.TYPE1_FONT) {
1055 return new Font(fontFile, fontFormat, false, null);