[XeTeX] Stylistic sets: search & copy-paste
Peter Dyballa
Peter_Dyballa at Web.DE
Tue Jan 12 13:43:59 CET 2010
Am 12.01.2010 um 12:35 schrieb Alexey Kryukov:
> AFAIK that's not the way PDF CMAP works
Could be...
Anyway, the CMAP file Kakuto-san attached to his eMail looks like a
CMAP file from the CMap package. It starts with some PostScript
programming:
%!PS-Adobe-3.0 Resource-CMap
%%DocumentNeededResources: ProcSet (CIDInit)
%%IncludeResource: ProcSet (CIDInit)
%%BeginResource: CMap (UTF8-UCS2)
%%Title: (UTF8-UCS2)
%%Version: 1.001
%%
%% This is not a CMap file. This file is intended to be used by ...
%% SH.
%%EndComments
/CIDInit /ProcSet findresource begin
12 dict begin
begincmap
/CIDSystemInfo 3 dict dup begin
/Registry (DPX) def
/Ordering (UTF8_UCS2) def
/Supplement 0 def
end def
/CMapName /UTF8-UCS2 def
/CMapVersion 1.001 def
/CMapType 2 def
/WMode 0 def
6 begincodespacerange
<00> <7F>
<C280> <DFBF>
<E0A080> <E0BFBF>
<E18080> <ECBFBF>
<ED8080> <ED9FBF>
<EE8080> <EFBFBF>
endcodespacerange
100 beginbfrange
<00> <7F> <0000>
<C280> <C2BF> <0080>
<C380> <C3BF> <00C0>
<C480> <C4BF> <0100>
<C580> <C5BF> <0140>
<C680> <C6BF> <0180>
<C780> <C7BF> <01C0>
<C880> <C8BF> <0200>
and ends with:
<EFBD80> <EFBDBF> <FF40>
<EFBE80> <EFBEBF> <FF80>
<EFBF80> <EFBFBF> <FFC0>
endbfrange
endcmap
CMapName currentdict /CMap defineresource pop
end
end
%%EndResource
%%EOF
It's a delta encoding, only deviations from the standard valid at the
moment of application are recorded. Everything else would be great
nonsense.
--
Greetings
Pete
When in doubt, use brute force.
– Ken Thompson
More information about the XeTeX
mailing list