1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 00:57:44 +00:00

LibPDF: Add (automated!) test for info dict encoding

Manually added an info dict with the three text string encoding
methods to encoding.pdf.

(Preview.app apparently can't handle UTF-8 in info dicts!)
This commit is contained in:
Nico Weber 2023-11-21 20:09:51 -05:00 committed by Andrew Kaster
parent 65b895595a
commit d345c5b793
2 changed files with 24 additions and 4 deletions

View file

@ -32,17 +32,22 @@ endobj
<</Type/Font/Subtype/Type1/Name/F1/BaseFont/Helvetica/Encoding/MacRomanEncoding>>
endobj
6 0 obj
<</Author<FEFF004E00690063006F002000570065006200650072>/Producer(\357\273\277Man\303\274ally Created)/Title(\312\361\251\200ding test)>>
endobj
xref
0 6
0000000000 65536 f
0 7
0000000000 00001 f
0000000016 00000 n
0000000062 00000 n
0000000114 00000 n
0000000227 00000 n
0000000448 00000 n
0000000546 00000 n
trailer
<</Size 6/Root 1 0 R>>
<</Size 7/Info 6 0 R/Root 1 0 R>>
startxref
546
699
%%EOF