freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Devel] Re: strange cmap syntax


From: Ken Lunde
Subject: [Devel] Re: strange cmap syntax
Date: Tue, 18 Jun 2002 15:50:03 -0700

Werner,

Because these files use the same parsing code as genuine CMap files, they must appear as though they are genuine CMap files. The only reliable way to distinguish them is by name. The latest CMap files are attached.

-- Ken

Attachment: cmap.txt
Description: Text document



On 2002.06.18, at 14:11, Werner LEMBERG wrote:


Acrobat ships with many CMap-like files. That is, they look like
CMap files, and even use CMap file syntax. They are not, however,
CMap files.  This particular one maps 90pv-RKSJ-H code points
(Shift-JIS) to Unicode.  In the third column, each four hex digits
represent a Unicode code point.  Thus 90pv-RKSJ-H 0x8591 maps to
U+0030 plus U+002E.

How shall we know this?  The file starts with

  %!PS-Adobe-3.0 Resource-CMap
  %%DocumentNeededResources: ProcSet (CIDInit)
  %%DocumentNeededResources: CMap (90pv-RKSJ-UCS2C)
  %%IncludeResource: ProcSet (CIDInit)
  %%IncludeResource: CMap (90pv-RKSJ-UCS2C)
  %%BeginResource: CMap (90pv-RKSJ-UCS2)
  %%Title: (90pv-RKSJ-UCS2)
  %%Version: 4.002

This makes it look like a valid CMap file.

Where can I get a list of cmap-like files specific to Acrobat?

To avoid future confusion, I strongly suggest to put a comment into
the pseudo-cmap file.


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]