Commit 68b1fa53 authored by hyatt's avatar hyatt
Browse files

Minor tweaks to RenderThemeMac's systemFont function.

git-svn-id: 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent a4409887
2006-09-22 Dave Hyatt <>
Super-minor tweaks to the systemFont function on Mac.
Set the generic family to None rather than to Serif, and
don't waste time setting the computed size, since that is
set from the specified size over in CSSStyleSelector anyway.
* rendering/
2006-09-22 Timothy Hatcher <>
Reviewed by Brady.
......@@ -129,9 +129,8 @@ void RenderThemeMac::systemFont(int propId, FontDescription& fontDescription) co
if (font) {
cachedDesc->firstFamily().setFamily([font familyName]);
cachedDesc->setComputedSize([font pointSize]);
cachedDesc->setSpecifiedSize([font pointSize]);
NSFontTraitMask traits = [[NSFontManager sharedFontManager] traitsOfFont:font];
cachedDesc->setBold(traits & NSBoldFontMask);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment