Fixed <rdar://problem/3999467> when Osaka-Mono is specified as fixed width font...
authorrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 15 Feb 2005 22:53:42 +0000 (22:53 +0000)
committerrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 15 Feb 2005 22:53:42 +0000 (22:53 +0000)
commitd90f14ae1cb7589850c046ab4985b09b9cbb8ffe
tree9832042efe6958b2a2923f380f46a007211d66d0
parentfaf6bcc364a73f908686b6d97dba9a316470aa0b
Fixed <rdar://problem/3999467> when Osaka-Mono is specified as fixed width font, Osaka used instead

Lie about Osaka-Mono.  Treat it as fixed pitch, even though,
strictly speaking it isn't.  (Similar to what we do with
Courier New.)

        Reviewed by David Harrison.

        * WebCoreSupport.subproj/WebTextRenderer.m:
        (-[WebTextRenderer _computeWidthForSpace]):
        * WebCoreSupport.subproj/WebTextRendererFactory.h:
        * WebCoreSupport.subproj/WebTextRendererFactory.m:
        (-[NSFont _web_isFakeFixedPitch]):
        (-[WebTextRendererFactory isFontFixedPitch:]):
        (-[WebTextRendererFactory fontWithFamily:traits:size:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8594 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/ChangeLog
WebKit/WebCoreSupport.subproj/WebTextRenderer.m
WebKit/WebCoreSupport.subproj/WebTextRendererFactory.h
WebKit/WebCoreSupport.subproj/WebTextRendererFactory.m