Return nil fonts if they are the aristo default, so that the theme default is used instead of the arist default (for custom themes).

This commit is contained in:
Ross Boucher committed 2010-04-21 20:57:53 -07:00
1 parent a7021e6b66
commit 4479233bea
1 file changed
+2 -2
+2 -2
View File
@@ -33,8 +33,8 @@
if ((fontName === "LucidaGrande" || fontName === "LucidaGrande-Bold") && size === 13)
{
CPLog.debug("Converting default IB font: <"+fontName+", "+size+"> to default Aristo font: <Arial, 12>");
return [CPFont boldSystemFontOfSize:12.0];
CPLog.debug("Removing default IB font: <"+fontName+", "+size+"> for theme default font.");
return nil;
}
// FIXME: Is this alwasy true?