SECTION 5.9
475
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
srcCode
1
srcCode
2
[
dstString
1
dstString
2
…
dstString
m
]
endbfrange
Consecutive codes starting with
srcCode
1
and ending with
srcCode
2
are mapped to
the destination strings in the array starting with
dstString
1
and ending with
dstString
m
. 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 = srcCode
2
-
srcCode
1
+ 1