[Webkit-unassigned] [Bug 43340] Printer font is different from screen font

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 3 20:32:07 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=43340





--- Comment #4 from Shinichiro Hamaji <hamaji at chromium.org>  2010-08-03 20:32:07 PST ---
(In reply to comment #3)
> This is probably caused by NSFont's renderingMode method, which is used internally by:
> 
> WKGetGlyphTransformedAdvances
> 
> Last time I looked at the AppKit source (years ago), the renderingMode returned integral widths for glyphs for screen fonts, but non-integral widths for printer fonts.

I see. Sounds like we might want to use non-integral widths even for screen fonts. Is incompatibility with AppKit serious? I'm also curious if subpixel positioning won't break web compatibility. If these concerns are not so important, I'd like WebKit uses non-integral widths. If I understand correctly, I cannot see the code from outside Apple, right? If so, can I request the change?

> Lucida Grande was an exception and always subpixel positioned.

Thanks for the info. I confirmed we can get the same result between screen and printing with Lucida Grande. Please let me know if there are some other workarounds for this.

Thanks for your comments!

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list