Cidfontf1 F2 F3 F4 F5 F6 Updated
| CIDFont tag | Typical meaning (old workflows) | Modern reality |
|-------------|--------------------------------|----------------|
| F1 | Primary font | Any font, first referenced |
| F2 | Secondary / bold | Any font, second referenced |
| F3 | Italic | Any font, third referenced |
| F4 | Heading | Any font, fourth referenced |
| F5 | Code/mono | Any font, fifth referenced |
| F6 | Fallback | Any font, sixth referenced |
Key takeaway: Always dereference
F1–F6to the actual/BaseFontname. cidfontf1 f2 f3 f4 f5 f6 updated
// Old iText 5
BaseFont.createFont("CIDFontF1", BaseFont.IDENTITY_H, BaseFont.EMBEDDED);
To understand the F-series, one must first understand the CID (Character Identifier) architecture. | CIDFont tag | Typical meaning (old workflows)
High-end laser printers and digital presses store fonts in hardware modules (Flash memory or SIMM cards). As font standards evolve (e.g., moving from Adobe-Japan1-5 to Adobe-Japan1-7), manufacturers release firmware updates. Key takeaway: Always dereference F1 – F6 to
Previously, CIDFontType2 was secondary. The update clarifies that any cidfontf4 or cidfontf5 can now use TrueType outlines directly via a /CIDToGIDMap. This is critical for vertical writing in Japanese.