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

Exporting PDF with transparent lines (highlighter) won't have a uniform opacity #3

Open
Semphriss opened this issue Jun 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Semphriss
Copy link
Owner

Reproduction steps

  1. Open any PDF file.
  2. Draw a single continuous stroke with the highlighter tool, preferably passing several times over the same place.
  3. Export that document with the "Share" feature.
  4. View the document.

Expected

The highlighter stroke should have a uniform opacity.

Actual

The highlighter stroke is much more opaque in areas where the stroke was drawn slowly or where it passed several times over itself.

Additional notes

What's causing this is the drawing of each segment of a stroke individually, rather than at once. I should check if pdf-lib supports a canvas-like continuous stroke mechanism.

@Semphriss Semphriss added the bug Something isn't working label Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant