< prev index next >

src/java.desktop/macosx/classes/sun/font/CFontManager.java

Print this page
rev 60064 : 8248802: Add log helper methods to FontUtilities.java

*** 1,7 **** /* ! * Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2011, 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 94,105 **** // plus they never need to be added to the generic font list // or the fullNameToFont table since they are covers for // already existing fonts in this list if (logicalFont || !genericFonts.containsKey(fontName)) { if (FontUtilities.debugFonts()) { ! FontUtilities.getLogger().info("Add to Family "+familyName + ! ", Font " + fontName + " rank="+rank); } FontFamily family = FontFamily.getFamily(familyName); if (family == null) { family = new FontFamily(familyName, false, rank); family.setFont(f, f.style); --- 94,105 ---- // plus they never need to be added to the generic font list // or the fullNameToFont table since they are covers for // already existing fonts in this list if (logicalFont || !genericFonts.containsKey(fontName)) { if (FontUtilities.debugFonts()) { ! FontUtilities.logInfo("Add to Family " + familyName + ! ", Font " + fontName + " rank=" + rank); } FontFamily family = FontFamily.getFamily(familyName); if (family == null) { family = new FontFamily(familyName, false, rank); family.setFont(f, f.style);
< prev index next >