Summary: | underlines still print too thick | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Trey Matteson <trey> | ||||
Component: | Printing | Assignee: | Trey Matteson <trey> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | ||||||
Priority: | P2 | ||||||
Version: | 420+ | ||||||
Hardware: | Mac | ||||||
OS: | OS X 10.4 | ||||||
URL: | http://www.nytimes.com/ | ||||||
Attachments: |
|
Description
Trey Matteson
2005-08-01 11:52:35 PDT
Here is a particularly bad case: Set the scale in Page Setup to 50%. Now Print. The underlines are extra thick. The problem is that drawLineForCharacters: in WebTextRenderer sets an absolute thickness for lines of 0 thickness. It applies the inverse CTM to pick a size that will be fixed on the paper, regardless of any scaling. Created attachment 3199 [details]
proposed patch
Comment on attachment 3199 [details]
proposed patch
I tried this out, and it's a very noticeable improvement. I'll check this in
shortly.
Checked in. |