Bug 197748

Summary: PDF not rendering in WKWebView on macOS
Product: WebKit Reporter: study2teach
Component: PDFAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: ap, beidson, simon.fraser, study2teach, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: All   
OS: All   

Description study2teach 2019-05-09 11:44:28 PDT
In Xcode based development for Apple devices, WkWebView can rendering PDF pages on iOS, however, WkWebView  will not render PDF on macOS. See: https://github.com/marc-medley/WKWebView-Printing-Puzzle and http://www.openradar.me/23649229 "No Method of Printing WKWebView".

Is inability to render PDF on different platforms (e.g. macOS) a limitation of the open source WebKit? or, is it due to some layer that Apple has added onto the open source WebKit?

(In other words, does/can/should direct use of the current open source WebKit support PDF rendering across different platforms?)
Comment 1 Radar WebKit Bug Importer 2019-05-12 15:00:05 PDT
<rdar://problem/50708347>
Comment 2 Brady Eidson 2019-09-27 10:19:18 PDT
Do you want *actual printing* on macOS, or do you want exporting the current page to a PDF?

Because those are two very different things, even if you are "printing" to a PDF.

For the latter, we added PDF export API over in https://bugs.webkit.org/show_bug.cgi?id=195765 
(No, it has not shipped in any OS release yet)

For the former, we are tracking macOS printing in radar but I can't find a bugzilla for it.

If that's what you're after, we can use this bugzilla for it.
Comment 3 Simon Fraser (smfr) 2023-09-30 20:32:30 PDT
No response for over 4 years, and unclear what the originator is asking for.