From 4479233beaa4ebc268e2550ef8f5211ab91fc444 Mon Sep 17 00:00:00 2001 From: Ross Boucher Date: Wed, 21 Apr 2010 20:57:53 -0700 Subject: [PATCH] Return nil fonts if they are the aristo default, so that the theme default is used instead of the arist default (for custom themes). --- Tools/nib2cib/NSFont.j | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tools/nib2cib/NSFont.j b/Tools/nib2cib/NSFont.j index 35508f4e9..41643eb22 100644 --- a/Tools/nib2cib/NSFont.j +++ b/Tools/nib2cib/NSFont.j @@ -33,8 +33,8 @@ if ((fontName === "LucidaGrande" || fontName === "LucidaGrande-Bold") && size === 13) { - CPLog.debug("Converting default IB font: <"+fontName+", "+size+"> to default Aristo font: "); - return [CPFont boldSystemFontOfSize:12.0]; + CPLog.debug("Removing default IB font: <"+fontName+", "+size+"> for theme default font."); + return nil; } // FIXME: Is this alwasy true?