freetype-devel
[Top][All Lists]
Advanced

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

[Devel] CFF fonts assume Type 2 charstrings


From: Graham Asher
Subject: [Devel] CFF fonts assume Type 2 charstrings
Date: Thu, 8 Aug 2002 21:37:17 +0100

Dear FreeTypers,

is this an error? The CFF driver assumes that charstrings are Type 2, and
has no provision for other types. I believe this from the fact that
top->charstring_type is correctly set but never referred to.

However, the Compact Font Format Specification
(http://partners.adobe.com/asn/developer/pdfs/tn/5176.CFF.pdf) states that

"The format of the charstring data, and therefore the method of
interpretation, is specified by the CharstringType operator in
the Top DICT. The CharstringType operator has a default value
of 2 indicating the Type 2 charstring format which was designed
in conjunction with CFF. Type 1 charstrings are documented in
the “Adobe Type 1 Font Format” published by Addison-Wesley.
Type 2 charstrings are described in Adobe Technical Note #5177:
“Type 2 Charstring Format.” Other charstring types may also be
supported by this method."

I believe, therefore, that the CFF driver should be changed so that, at
least, it supports Type 1 charstring format.

Best regards,

Graham Asher




reply via email to

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