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

Fixes issue #40: Overzealous word splitting #72

Closed
wants to merge 3 commits into from

Conversation

ef4
Copy link
Contributor

@ef4 ef4 commented May 14, 2012

pdfkit breaks lines at the punctuation within words like "A.B.C" or "3.14159" or "1,000".

This change causes it to split only where non-whitespace runs up against whitespace.

@devongovett
Copy link
Member

This is hopefully fixed by the new line wrapper, which implements the Unicode Line Breaking Algorithm as a separate module, removing the regex all together. Let me know if you still see problems!

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

Successfully merging this pull request may close these issues.

None yet

2 participants