Difficult problem to understand and to explain.
When I write the text "une forêt" the pdf has "une fforêt" (2 f).
After hours looking for the problem, I discovered that my f was encoded "\" on class Subset. String.fromCharCode(@unicodes['f']) === "\"
On mixin "text" function _escape replace \ by \\ ... I don't know /understand why but removing this replace fix my problem and I have no time to investigate deeper..
Encode text as hex to avoid an escaping issue when using font subsets…
…. Fixes #33.
Great catch, thanks for reporting. I switched to using hex encoding in order to avoid this issue. Fixed by 513fef7. Let me know if you have any more issues!
You're so fast :-) I confirm the bug is fixed ! Thank you.