[webkit-changes] [WebKit/WebKit] 1fdc4a: [UnifiedPDF] Two-up layouts are not centered
Simon Fraser
noreply at github.com
Tue May 14 07:57:07 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1fdc4a13e9f8d6d7a19563ef0baf08848cbae838
https://github.com/WebKit/WebKit/commit/1fdc4a13e9f8d6d7a19563ef0baf08848cbae838
Author: Simon Fraser <simon.fraser at apple.com>
Date: 2024-05-14 (Tue, 14 May 2024)
Changed paths:
M Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/PDFDocumentLayout.mm
Log Message:
-----------
[UnifiedPDF] Two-up layouts are not centered
https://bugs.webkit.org/show_bug.cgi?id=274138
rdar://128042484
Reviewed by Tim Horton.
When computing the centering of two-up page rows, we need to take the margin between the two pages into account.
* Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/PDFDocumentLayout.mm:
(WebKit::PDFDocumentLayout::layoutTwoUpColumn):
Canonical link: https://commits.webkit.org/278758@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list