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

text selections look weird #2798

Open
YousefED opened this issue Oct 9, 2024 · 0 comments
Open

text selections look weird #2798

YousefED opened this issue Oct 9, 2024 · 0 comments

Comments

@YousefED
Copy link

YousefED commented Oct 9, 2024

I'm comparing different pdf libraries. While pdfmake has a nice API, the following has me a bit concerned.

pdfmake selections
PDF downloaded here: http://pdfmake.org/playground.html

image

Notice how it looks like all the words are selected "separately". Is there anything weird pdfmake does by default that causes this? Compare this to other libraries where selections look a lot cleaner:

pdfkit
PDF downloaded here: https://pdfkit.org/demo/out.pdf
image

jspdf

PDF downloaded here: https://raw.githack.com/MrRio/jsPDF/master/index.html
image

(PDFs are opened on Chrome on MacOS)

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

No branches or pull requests

1 participant