Fixes issue #40: Overzealous word splitting #72

Closed
wants to merge 3 commits into
from

Conversation

Projects
None yet
2 participants
Contributor

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.

Owner

devongovett commented Feb 16, 2014

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