freetype
[Top][All Lists]
Advanced

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

Re: [Freetype] CIDFont support


From: Allen Zhao
Subject: Re: [Freetype] CIDFont support
Date: Thu, 11 Apr 2002 12:28:11 -0400
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:0.9.4.1) Gecko/20020315 Netscape6/6.2.2

Hi, there,

        Actually I was confused by the cmap thread as well.

        Adobe does have its own CID cmap format. But I believe the new
CID standard is actually using the open type format, where cmap table
is exactly the same as in truetype v1.0.

        What are talking about now? I am lost.

        Best regards,

        Allen Zhao

Juliusz Chroboczek wrote:

>>>Why that ? I thought that this could be handled through a FT_Attach_File
>>>or FT_Attach_Stream call,
>>>
> 
> YH> Yes.  There are some reasons.
> 
> YH> 1.  cmap->encoding is not enough to handle CIDCMap.
> YH> 2.  The CID CMap may convert charcter code to glyph name.
> 
> I'm not sure I follow you.
> 
> In a TTF font, all glyphs are identified by glyph indices.  In a
> CIDFont, there are two ways to identify a glyph: by CID or by glyph
> index (obtained by numbering the glyphs in the font sequentially from 0).
> 
> A CMap is merely a compact serialisation of a partial mapping from a
> given code space to a given CID space.  As far as I recall, LoadGlyph
> and friends already take CIDs, and I cannot see how there could be a
> problem with reflecting the structure of a CMap in the FreeType
> library.
> 
> On the other hand, I agree with you that it may be difficult to
> describe an arbitrary CMap in terms of Unicode as FreeType usually
> does.  But that wouldn't make sense -- only Unicode CMaps should be
> reflected as Unicode FreeType CharMaps.
> 
> YH> And there are other reasons.  But I have enough time to describe this
> YH> topic.  Please wait.
> 
> We're holding our breaths.
> 
>                                         Juliusz
> 
> _______________________________________________
> Freetype mailing list
> address@hidden
> http://www.freetype.org/mailman/listinfo/freetype
> 
> 
> 





reply via email to

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