[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ft-devel] A CFF in an SFNT can have only a single font
From: |
mpsuzuki |
Subject: |
[ft-devel] A CFF in an SFNT can have only a single font |
Date: |
Thu, 18 Sep 2008 13:51:15 +0900 |
Hi,
When I read CFF driver (to synchronize the support of
sfnt-wrapped Type1 and CID-keyed font), I found a comment
in cffobjs.c.
/* UNDOCUMENTED! A CFF in an SFNT can have only a single font. */
if ( face_index > 0 )
{
FT_ERROR(( "cff_face_init: invalid face index\n" ));
error = CFF_Err_Invalid_Argument;
goto Exit;
}
It makes me reminds a note in OpenType specification:
"The CFF rasterizer does not currently support TTC files."
(http://www.microsoft.com/typography/otspec/otff.htm)
Is this note sufficient reason to restrict face_index = 0?
If so, I want to revise the comment.
Regards,
mpsuzuki
- [ft-devel] A CFF in an SFNT can have only a single font,
mpsuzuki <=