christian-vigh-phpclasses/PdfToText

Font Widths from another PDF Object

Tony-Esales opened this issue · 0 comments

I have a PDF file that the "widths" array is inside a PDF Object. I already implemented a fix. How can I send my changes? Can I commit my changes to this repository? (I'm a github begginer)

Bellow is the code snippet extracted from the PDF:

/Widths 11 0 R
/Encoding /WinAnsiEncoding

endobj
10 0 obj
<<
/Type /FontDescriptor
/FontName /TimesNewRomanPSMT
/Ascent 693
/CapHeight 662
/Descent -216
/Flags 32
/FontBBox [-568 -307 2046 1040]
/ItalicAngle 0
/StemV 87
/XHeight 447

endobj
11 0 obj
[778 778 778 778 778 778 778 778 778 778 778 778 778 778 778 778 778 778 778 778 778 778 778 778 778 778 778 778 778 778 778 778 250 333 408 500 500 833 778 180 333 333 500 564 250 333 250 278 500 500 500 500 500 500 500 500 500 500 278 278 564 564 564 444 921 722 667 667 722 611 556 722 722 333 389 722 611 889 722 722 556 722 667 556 611 722 722 944 722 722 611 333 278 333 469 500 333 444 500 444 500 444 333 500 500 278 278 500 278 778 500 500 500 500 333 389 278 500 500 722 500 500 444 480 200 480 541 350 500 350 333 500 444 1000 500 500 333 1000 556 333 889 350 611 350 350 333 333 444 444 350 500 1000 333 980 389 333 722 350 444 722 250 333 500 500 500 500 200 500 333 760 276 500 564 333 760 500 400 549 300 300 333 576 453 333 333 300 310 500 750 750 750 444 722 722 722 722 722 722 889 667 611 611 611 611 333 333 333 333 722 722 722 722 722 722 722 564 722 722 722 722 722 722 556 500 444 444 444 444 444 444 667 444 444 444 444 444 278 278 278 278 500 500 500 500 500 500 500 549 500 500 500 500 500 500 500 500 ]
endobj