mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-04 08:06:16 +00:00
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:
1 parent
a7021e6b66
commit
4479233bea
1 file changed
+2
-2
@@ -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?
|
||||
|
||||
Reference in new issue
Block a user