[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] Open Type font that contains Adobe CFF (PostScript outlin
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] Open Type font that contains Adobe CFF (PostScript outlines) data |
Date: |
Sun, 27 Nov 2005 22:08:34 +0100 (CET) |
> I've just found an OpenType that freetype (current build) unable to
> open.
I believe you've already sent this font to us -- at least I've found
it on my harddisk :-)
> 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
Well, the font *is* broken. It can't work standalone. Both the GSUB
and GPOS tables refer to non-existent glyphs (and BASE probably too I
suspect). I really wonder which information of this font is valid at
all. It is probably used as a glyph container only, and all other
information is already in the PDF.
> 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 kind of OpenType fonts?
`Fix' -- ha! You mean we should add weird hacks to support this crap.
I basically don't object, but I fear that this means a lot of work
since we had to make FreeType synthesize the missing data (or to strip
the invalid information) to get consistent results. Volunteers
welcome.
Werner