Reputation: 41
3 begincidrange
<20> <7e> 1
<8140> <817e> 633
<8180> <81ac> 696
endcidrange
This is a CMAP file sample.
Upvotes: 4
Views: 1024
Reputation: 1238
Your CMap table establishes all of the character code to CID mappings.
The number that appears before the begincidrange operator indicates the number of mapping lines. The endcidrange operator terminates a block of mappings.
The lines in between begincidrange and endcidrange contain the mappings. There are 3 entries for each line. The first two specify the character code range and the 3rd is the CID value they map to.
So character codes 0x20 to 0x7e map to CID 1.
Adobe Technote 5099 describes the format for CID tables.
Upvotes: 2