[Webkit-unassigned] [Bug 138192] New: Print fonts significantly smaller than other browsers when using fixed-width container

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 29 15:51:47 PDT 2014


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

            Bug ID: 138192
           Summary: Print fonts significantly smaller than other browsers
                    when using fixed-width container
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Macintosh Intel
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Printing
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: webkit at rebertia.com

Created attachment 240634
  --> https://bugs.webkit.org/attachment.cgi?id=240634&action=review
Screenshot demonstrating scaling (or font size?) difference

Original Bootstrap issue: https://github.com/twbs/bootstrap/issues/14868

To reproduce:
1. Open http://jsbin.com/tuxos/2 in Safari 8.0 (10600.1.25) on OS X Yosemite
2. File->Print
3. Set "Paper Size" to "US Letter"
4. Ensure that "Scale" is set to "100%"
5. PDF->Open PDF in Preview
6. Compare the resulting PDF to those produced by Chrome's or Firefox's print features.

Expected Result:
Disregarding margins and margin-related scaling, Safari's PDF should look nearly the same as the other browsers' PDFs.

Actual Result:
Due to page scaling (or font size adjustment?), the apparent font size in Safari's PDF is significantly smaller compared to the other browsers.


Adding
  .container {
    width: auto !important;
  }
seems to make Safari scale the page closer to how the other browsers scale it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141029/18423c0a/attachment-0002.html>


More information about the webkit-unassigned mailing list