Fix for issue #73, will also work with ??? #103

wants to merge 3 commits into


None yet

2 participants


When calling .text with either an empty string, blank string or a non-matched string (like "???") the extra width calculation will fail because words.length is not possible on a null value.

On the regexp match use the text in an array as default.
This way the text will still be added to the pdf.


Should be fixed by recent changes.

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