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

fix: wait for fonts before pdf printing #12175

Merged
merged 1 commit into from Apr 2, 2024
Merged

fix: wait for fonts before pdf printing #12175

merged 1 commit into from Apr 2, 2024

Conversation

OrKoN
Copy link
Collaborator

@OrKoN OrKoN commented Mar 29, 2024

This PR adds a command to always wait for the web fonts readiness before generating a PDF.

Closes #3183

@OrKoN OrKoN marked this pull request as ready for review April 2, 2024 08:26
@OrKoN OrKoN enabled auto-merge (squash) April 2, 2024 08:46
@OrKoN OrKoN merged commit 59bffce into main Apr 2, 2024
38 checks passed
@OrKoN OrKoN deleted the orkon/wait-for-fonts branch April 2, 2024 08:52
@release-please release-please bot mentioned this pull request Apr 2, 2024
@whimboo
Copy link
Collaborator

whimboo commented Apr 5, 2024

Hi @OrKoN. I wonder if we should actually get this added to the WebDriver specifications. It sounds like an important thing to do.

@OrKoN
Copy link
Collaborator Author

OrKoN commented Apr 5, 2024

@whimboo perhaps but it is easy to implement on the client side. I decided to enable this by default to learn if there are use cases where waiting for fonts is not desired. It could inform our decision as to if this needs to be optional.

@whimboo
Copy link
Collaborator

whimboo commented Apr 5, 2024

Sounds good. In case it would make things more stable please inform us or as usual file an issue for BiDi yourself. Thanks!

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

Successfully merging this pull request may close these issues.

Custom Fonts not loaded when pdf generated
3 participants