Lines Matching refs:oldFont
607 PhysicalFont oldFont = oldComp.getSlotFont(0);
610 family = oldFont.getFamilyName(null);
618 newFont = oldFont;
686 Font2D oldFont = (Font2D)
688 if (oldFont instanceof CompositeFont) {
689 oldFont.handle.font2D = cf;
773 PhysicalFont oldFont = physicalFonts.get(fontName);
774 if (oldFont == null) {
780 if (oldFont.getRank() >= rank) {
800 if (oldFont.mapper != null && rank > Font2D.FONT_CONFIG_RANK) {
801 return oldFont;
809 if (oldFont.getRank() == rank) {
810 if (oldFont instanceof TrueTypeFont &&
812 TrueTypeFont oldTTFont = (TrueTypeFont)oldFont;
815 return oldFont;
818 return oldFont;
830 if (oldFont.platName.startsWith(jreFontDirName)) {
835 oldFont.platName +
838 return oldFont;
845 " from " + oldFont.platName +
848 replaceFont(oldFont, newFont);
862 return oldFont;
2590 public synchronized void replaceFont(PhysicalFont oldFont,
2593 if (oldFont.handle.font2D != oldFont) {
2601 if (oldFont == newFont) {
2604 .severe("Can't replace bad font with itself " + oldFont);
2613 if (oldFont == newFont) {
2626 oldFont.handle.font2D = newFont;
2627 physicalFonts.remove(oldFont.fullName);
2628 fullNameToFont.remove(oldFont.fullName.toLowerCase(Locale.ENGLISH));
2629 FontFamily.remove(oldFont);
2639 if (mapEntries[i].getValue() == oldFont) {
2683 compFonts[i].replaceComponentFont(oldFont, newFont);