Hello,
We have moved the post to the dev team to check both changes to be included in the next release of the library. If you please send a PDF sample that returns the ErrorException chr() expects parameter 1 to be int, string given error to contact[at]phpdocx.com, we are unable to find a PDF that returns the same error.
Regards.