Article View: adobe.opentype.developers.fdk
Article #86Re: Cmaps and characters code
From: Thomas_Phinney
Date: Fri, 03 Apr 2009 03:32
Date: Fri, 03 Apr 2009 03:32
15 lines
1523 bytes
1523 bytes
Yes, a character code may appear in multiple cmap subtables. See the OpenType spec: <http://www.microsoft.com/Typography/otspec/cmap.htm> Which cmap subtable you would use to access the character would depend on your particular needs. What kind of codepoint are you trying to look up the glyph with? You say "cmap0" and "cmap4" but you don't specify whether the 0 and 4 refer to platform, encoding, or format. I'm going to guess that you are referring to format 0 and format 4. First, I would say that one would normally pick a cmap based first on platform/encoding, and only secondarily on format. Cmap format 0 is an old Apple format, limited to 256 encoded glyphs, seen in conjunction with platform=specific encoding(s), notably MacRoman. Format 4 is one of several ways of representing Unicode codepoints, with the limitation that it can only deal with codepoints in the Basic Multilingual Plane or BMP. Cheers, T
Technical Details
Message-ID:
<59b87a9e.0@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossingReferences:
<59b87a9e.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: 151de4,fe41b3d183ae9188 X-Google-Attributes: gid151de4,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Thomas_Phinney@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.opentype.developers.fdk Subject: Re: Cmaps and characters code Message-ID: <59b87a9e.0@webcrossing.la2eafNXanI> Date: Thu, 2 Apr 2009 20:32:10 -0700 References: <59b87a9e.-1@webcrossing.la2eafNXanI> Lines: 24 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit