Previous Next
475
SECTION 5.9 Extraction of Text Content
mented past 255; otherwise, the result of mapping is undefined and an error oc-
curs.
To support more compact representations of mappings from a range of source
character codes to a discontiguous range of destination codes, the CMaps used
for the ToUnicode entry can use the following syntax for the mappings following
a beginbfrange definition:
n beginbfrange
srcCode1 srcCode2 [ dstString1 dstString2 … dstStringm ]
endbfrange
Consecutive codes starting with srcCode1 and ending with srcCode2 are mapped to
the destination strings in the array starting with dstString1 and ending with
dstStringm . The value of dstString can be a string of up to 512 bytes. The value of
m represents the number of continuous character codes in the source character
code range:
m = srcCode2 - srcCode1 + 1
Previous Next