/** * Run the callback for each TT font in the collection. * * @param trueTypeFontProcessor the object with the callback method. * @throws IOException */ public void processAllFonts(TrueTypeFontProcessor trueTypeFontProcessor) throws IOException { for (int i = 0; i < numFonts; i++) { TrueTypeFont font = getFontAtIndex(i); trueTypeFontProcessor.process(font); } }
/** * Run the callback for each TT font in the collection. * * @param trueTypeFontProcessor the object with the callback method. * @throws IOException */ public void processAllFonts(TrueTypeFontProcessor trueTypeFontProcessor) throws IOException { for (int i = 0; i < numFonts; i++) { TrueTypeFont font = getFontAtIndex(i); trueTypeFontProcessor.process(font); } }
/** * Run the callback for each TT font in the collection. * * @param trueTypeFontProcessor the object with the callback method. * @throws IOException */ public void processAllFonts(TrueTypeFontProcessor trueTypeFontProcessor) throws IOException { for (int i = 0; i < numFonts; i++) { TrueTypeFont font = getFontAtIndex(i); trueTypeFontProcessor.process(font); } }