freetype-devel
[Top][All Lists]
Advanced

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

[ft-devel] Open Type font that contains Adobe CFF (PostScript outlines)


From: Vitaly Pasternak
Subject: [ft-devel] Open Type font that contains Adobe CFF (PostScript outlines) data
Date: Sat, 26 Nov 2005 20:39:28 +0200

Hi All
I've just found an OpenType that freetype (current build) unable to open.
This font extracted from PDF 1.6 file. Font was embedded in PDF
document as subset in the FontFile3 stream and based on Type1 font.
PDFReference 1.6 describe OpenType embedding in the FontFile3 stream
in the 3 way

==>>
(PDF 1.6) OpenType font program, as described in the OpenType
FontOpenType font program, as described in the OpenType Font

Specification (see the Bibliography). OpenType is an extension of True-
Type that allows inclusion of font programs that use the Compact Font
Format (CFF).

This entry can appear in the font descriptor for the following types of font
dictionaries:
Type that allows inclusion of font programs that use the Compact Font
Format (CFF).
This entry can appear in the font descriptor for the following types of font
dictionaries:

1 A TrueType font dictionary or a CIDFontType2 CIDFont dictionary, if
the embedded font program contains a "glyf " table.A TrueType font
dictionary or a CIDFontType2 CIDFont dictionary, if the embedded font
program contains a "glyf " table.
A CIDFontType0 CIDFont dictionary, if the embedded font progam
contains a "CFF" table with a Top DICT that uses CIDFont operators
(this is equivalent to subtype CIDFontType0C above).2 A CIDFontType0
CIDFont dictionary, if the embedded font program contains a "CFF"
table with a Top DICT that uses CIDFont operators (this is equivalent
to subtype CIDFontType0C above).Top DICT that uses CIDFont operators
(this is equivalent to subtype CIDFontType0C above).CIDFontType0C
above).

A Type1 font dictionary or CIDFontType0 CIDFont dictionary, if the
embedded font program contains a "CFF" table without CIDFont
operators.A Type1 font dictionary or CIDFontType0 CIDFont dictionary,
if the embedded font program contains a "CFF" table without CIDFont
operators.

==>>

So we have OpenType with Type1 font dictionary and CFF table - no HEAD
no META no SING tag... and FreeType return Error 2 - Unknown font
format.  Is it possible to fix the freetype for working with this king
of OpenType fonts


--
   Vitaly

Attachment: badfont.otf
Description: Binary data


reply via email to

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