pdf icon indicating copy to clipboard operation
pdf copied to clipboard

Text position for certain font might not work

Open dayfine opened this issue 6 years ago • 1 comments

Documenting the issue at least, so people with similar goals with me would know it exists. Basically when some fonts are decoded, it is analyzed character by character, however, all those characters would have the same position coordinates...See screenshot below. I might dig into it and try to fix it. We'll see. Screenshot of text position error

dayfine avatar Dec 25 '18 01:12 dayfine

Dear @dayfine,

I experienced the same issue. Additionally, all white spaces were missing. From my point of view this happens when the Font-Object (PDF internals) is missing /FirstChar /LastChar and /Widths attributes.

To preserve white spaces I proposed the pull request #34

giovanni-annunzio avatar Feb 08 '20 10:02 giovanni-annunzio