Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] PDF generation programmatically #12284

Open
thewh1teagle opened this issue Jan 7, 2025 · 0 comments
Open

[feat] PDF generation programmatically #12284

thewh1teagle opened this issue Jan 7, 2025 · 0 comments

Comments

@thewh1teagle
Copy link
Contributor

thewh1teagle commented Jan 7, 2025

Describe the problem

Current web APIs doesn't have simple way to generate pdf from the current webpage.
3rd party libraries doesn't work well - font issues, or some doesn't preserve text selection.
The webview's built in html -> pdf render works best but requires user interaction after 'window.print`

Describe the solution you'd like

It will be useful to be able to convert the current page (html to pdf) programmatically by leveraging webview's APIs in wry
Since there's no option in js to save the page as pdf

Alternatives considered

No response

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant