A CIDFont is a font that uses a character collection, known as a CID character set, to map character codes to glyphs. Each character in the CID character set is assigned a unique identifier, known as a CID, which is used to reference the corresponding glyph in the font. This allows multiple languages to be represented using a single font, making it an efficient solution for multilingual typography.
CID stands for Character Identification, and CIDFont is a type of font that uses this technology to map character codes to glyphs. Developed by Adobe Systems in the late 1980s, CIDFonts were designed to overcome the limitations of traditional font formats, such as PostScript and TrueType. CIDFonts are commonly used in Asian languages, such as Chinese, Japanese, and Korean, where the number of characters required to represent the language is vast.
When a PDF is created, the text is stored using character codes. The PDF viewer uses the font’s internal CMap to convert those codes to CIDs, and then uses the Charset to draw the correct glyph. This process is seamless and fast. cidfont
This usually happens when a PDF is created without embedding the font. If the viewing computer doesn't have the specific CID resource installed, the text may turn into "tofu" (empty boxes) or gibberish.
There are two primary versions of CIDFonts you will encounter in technical documentation: A CIDFont is a font that uses a
Because they use standardized CMaps, CIDFonts ensure that text renders consistently across Windows, macOS, and Linux, regardless of the local system's default encoding. CIDFont Types
CIDFonts offer several advantages over traditional font formats: CID stands for Character Identification, and CIDFont is
Here's a step-by-step explanation of how CIDFont works:
| Aspect | Traditional Type 1 Font | CID-Keyed Font | | :--- | :--- | :--- | | | 256 | 65,535+ | | Encoding Support | Single (hard-coded) | Multiple (via CMap) | | File Management | Many files per font family | One file | | Use Case | Western alphabets | CJK, Unicode, Large symbol sets | | Modern Support | Legacy (deprecated) | Full (via OpenType/CFF) |