Fixed <rdar://problem/3903749> REGRESSION (8A321): WebKit gets incorrect glyph metri...
authorrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 6 Dec 2004 21:09:19 +0000 (21:09 +0000)
committerrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 6 Dec 2004 21:09:19 +0000 (21:09 +0000)
commitec25e0e20309e05ecf7881c415a04875e94a054f
treea8b6267ab06b17cd09b747abbb4f9442bec5865e
parent923a7461fab05e244b8612577b74b8f50c03b6f9
Fixed <rdar://problem/3903749> REGRESSION (8A321): WebKit gets incorrect glyph metrics due to change in how AppKit uses CGFont

Use CGFontRef direction when both getting font metrics and drawing
glyphs, instead on depending on [NSFont set].

        Reviewed by John.

        * WebCoreSupport.subproj/WebTextRenderer.m:
        (getUncachedWidth):
        (_drawGlyphs):

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