Last active
April 6, 2025 11:27
-
-
Save nst/0decdc1ccf66c2170ec1957c91558fef to your computer and use it in GitHub Desktop.
A simple PostScript and PDF polyglot file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%!PS | |
%PDF-1.4 | |
/Helvetica findfont 20 scalefont setfont | |
100 700 moveto (Hello PostScript) show showpage stop | |
1 0 obj << /Type /Catalog /Pages 2 0 R >> endobj | |
2 0 obj << /Type /Pages /Kids [3 0 R] /Count 1 >> endobj | |
3 0 obj << | |
/Type /Page | |
/Parent 2 0 R | |
/MediaBox [0 0 612 792] | |
/Resources << /Font << /F1 5 0 R >> >> | |
/Contents 4 0 R | |
>> endobj | |
4 0 obj << /Length 41 >> stream | |
BT /F1 20 Tf 100 700 Td (Hello PDF) Tj ET | |
endstream endobj | |
5 0 obj << | |
/Type /Font | |
/Subtype /Type1 | |
/BaseFont /Helvetica | |
>> endobj | |
xref | |
0 6 | |
0000000000 65535 f | |
0000000110 00000 n | |
0000000159 00000 n | |
0000000216 00000 n | |
0000000352 00000 n | |
0000000443 00000 n | |
trailer << /Size 6 /Root 1 0 R >> | |
startxref | |
523 | |
%%EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment