Lines Matching defs:newFont
616 Font2D newFont = findFont2D(family, style, NO_FALLBACK);
617 if (!(newFont instanceof PhysicalFont)) {
618 newFont = oldFont;
620 PhysicalFont physicalFont = (PhysicalFont)newFont;
772 PhysicalFont newFont = f;
811 newFont instanceof TrueTypeFont) {
813 TrueTypeFont newTTFont = (TrueTypeFont)newFont;
836 " with " + newFont.platName);
846 " with " + newFont.platName);
848 replaceFont(oldFont, newFont);
849 physicalFonts.put(fontName, newFont);
851 newFont);
856 family.setFont(newFont, newFont.style);
858 family.setFont(newFont, newFont.style);
860 return newFont;
2591 PhysicalFont newFont) {
2601 if (oldFont == newFont) {
2608 if (physFonts[i] != newFont) {
2609 newFont = physFonts[i];
2613 if (oldFont == newFont) {
2626 oldFont.handle.font2D = newFont;
2641 mapEntries[i].setValue(newFont);
2682 if (newFont.getRank() > Font2D.FONT_CONFIG_RANK) {
2683 compFonts[i].replaceComponentFont(oldFont, newFont);