last patch.
* WebCoreSupport.subproj/WebTextRendererFactory.m:
(-[WebTextRendererFactory isFontFixedPitch:]):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8628
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2005-02-17 Richard Williamson <rjw@apple.com>
+
+ Removed code that should not have been checked in from
+ last patch.
+
+ * WebCoreSupport.subproj/WebTextRendererFactory.m:
+ (-[WebTextRendererFactory isFontFixedPitch:]):
+
2005-02-17 Richard Williamson <rjw@apple.com>
Fixed <rdar://problem/3999467> when Osaka-Mono is specified as fixed width font, Osaka used instead
- (BOOL)isFontFixedPitch: (NSFont *)font
{
- return [font isFixedPitch] || [font _isFakeFixedPitch] || [font _web_isFakeFixedPitch];
+ // We don't add additional check for [font _web_isFakeFixedPitch] here because of
+ // performance problems. Instead the check is done down in WebCore (QFont) and
+ // also in WebTextRenderer.
+ return [font isFixedPitch] || [font _isFakeFixedPitch];
}
- init