[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Devel] Preliminary support to CMap files on CID-keyed fonts.
From: |
PORTHOS |
Subject: |
Re: [Devel] Preliminary support to CMap files on CID-keyed fonts. |
Date: |
Wed, 6 Aug 2003 22:19:59 +0200 |
Hallo YAMANO-UCHI,
Am Sunday, August 3, 2003, 12:50:14 PM, hast du geschrieben:
YUH> Hello,
YUH> Here is a patch to support CMap files for CID-keyed fonts.
YUH> The functions, Get_Char and Next_Char, already work.
YUH> And I introduce new encoding, FT_ENCODING_UNKNOWN.
YUH> It is still beta and there are many bugs and many restrictions yet.
I am glad to see that things are going on. But what about direct CID-access
to a font program?
I am busy with reading PDF-Files. So called Type0-Fonts require a
CMap-parser (as well as ToUnicode-CMaps are to be read).
I *MUST* parse the CMap myself because the Subfont may be accessed by
a CID (embedded CFF) or a GID that is converted from the CID by a
special array (embedded TrueType).
Even if I use FreeTypes CMap-Parser I need CID for a number of
reasons (determine the glyphs width e.t.c).
So, after loading a CID-keyed-CFF-Font I am missing:
- FT_Load_Char() works with CID instead of charcode OR
- FT_Load_Glyph() works with CID instead of charindex OR
- "FT_Load_CID()" is created.
As fas as I know - there is no chance of loading a glyph by CID until
now!
--
Mit freundlichen Grüßen,
Wolfgang Domröse
mailto:address@hidden