F2 F3 F4 | Cid Font F1
In the page’s /Resources: /Resources << /Font << /F1 10 0 R >> >>
8 0 obj % Descendant CIDFont << /Type /Font /Subtype /CIDFontType2 % TrueType-based CID font /BaseFont /AdobeMingStd-Light /CIDSystemInfo << /Registry (Adobe) /Ordering (CNS1) % Traditional Chinese (Taiwan/HK) /Supplement 4 >> /FontDescriptor 10 0 R /DW 1000 /W [ 1 [500] 30 [600] ] % Widths array >> endobj cid font f1 f2 f3 f4
pdffonts document.pdf Output example:
8 0 obj << /Type /Font /Subtype /CIDFontType2 /BaseFont /MS-Gothic /CIDSystemInfo << /Registry (Adobe) /Ordering (Japan1) /Supplement 5 >> /FontDescriptor 9 0 R /DW 1000 >> endobj 10 0 obj << /Type /Font /Subtype /Type0 /BaseFont /MS-Gothic-H /Encoding /Identity-H /DescendantFonts [8 0 R] /ToUnicode 11 0 R >> endobj In the page’s /Resources: /Resources <
5 0 obj % Page object << /Type /Page /Contents 6 0 R /Resources << /Font << /F1 7 0 R % Here, F1 points to object 7 >> >> >> endobj 7 0 obj % The actual font object for F1 << /Type /Font /Subtype /Type0 % CID-keyed font container /BaseFont /AdobeMingStd-Light /Encoding /Identity-H % Horizontal writing, direct CID mapping /DescendantFonts [8 0 R] % Points to the CIDFont dictionary /ToUnicode 9 0 R % For text extraction >> endobj /F1 10 0 R >