/** * Derives a GVTFont object of the correct size. * * @param size The required size of the derived font. * @param aci The character iterator that will be rendered using * the derived font. */ public GVTFont deriveFont(float size, AttributedCharacterIterator aci) { if (font != null) return new AWTGVTFont(font, size); return deriveFont(size, aci.getAttributes()); }
/** * Derives a GVTFont object of the correct size. * * @param size The required size of the derived font. * @param aci The character iterator that will be rendered using * the derived font. */ public GVTFont deriveFont(float size, AttributedCharacterIterator aci) { if (font != null) return new AWTGVTFont(font, size); return deriveFont(size, aci.getAttributes()); }
/** * Derives a GVTFont object of the correct size. * * @param size The required size of the derived font. * @param aci The character iterator that will be rendered using * the derived font. */ public GVTFont deriveFont(float size, AttributedCharacterIterator aci) { if (font != null) return new AWTGVTFont(font, size); return deriveFont(size, aci.getAttributes()); }