# `Pdf.Reader.CID.AdobeGB1`
[🔗](https://github.com/MisaelMa/ExPDF/blob/v1.0.1/lib/pdf/reader/cid/adobe_gb1.ex#L1)

Adobe-GB1 CID to Unicode mapping (~28000 entries).

Bundled at compile time from `priv/adobe-gb1-cid2unicode.txt`,
normalized from the `cid2code.txt` table in the `cmap-resources` repository
(Adobe-GB1-6/cid2code.txt, UniGB-UCS2 column).

Each entry generates a pattern-match clause (O(1) BEAM dispatch).

## Spec references

- PDF 1.7 (ISO 32000-1) § 9.7 — Composite Fonts:
  https://opensource.adobe.com/dc-acrobat-sdk-docs/standards/pdfstandards/pdf/PDF32000_2008.pdf
- PDF 1.7 § 9.7.4 — CIDFonts
- PDF 1.7 § 9.7.5 — CMaps (Identity-H, Identity-V predefined)
- Adobe-GB1 collection: https://github.com/adobe-type-tools/Adobe-GB1
- CMap resources (source data): https://github.com/adobe-type-tools/cmap-resources

# `lookup`

```elixir
@spec lookup(non_neg_integer()) :: {:ok, non_neg_integer()} | :error
```

Returns `{:ok, codepoint}` for known CIDs, `:error` for unknown ones.

Codepoint is a Unicode scalar value (non_neg_integer).

---

*Consult [api-reference.md](api-reference.md) for complete listing*
