Bug 135401 - WKPDFView paints rotated pages squished
Summary: WKPDFView paints rotated pages squished
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Tim Horton
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-07-29 15:50 PDT by Tim Horton
Modified: 2014-07-29 16:02 PDT (History)
3 users (show)

See Also:


Attachments
patch (1.58 KB, patch)
2014-07-29 15:53 PDT, Tim Horton
simon.fraser: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Horton 2014-07-29 15:50:13 PDT
UIPDFPageView respects page rotation when painting, but we're giving its frame an aspect ratio that doesn't respect rotation, so it get squished.

<rdar://problem/17173916>
Comment 1 Tim Horton 2014-07-29 15:53:06 PDT
Created attachment 235705 [details]
patch
Comment 2 Tim Horton 2014-07-29 16:02:37 PDT
http://trac.webkit.org/changeset/171775