freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] Unable to load OpenType font (test case + font attached)


From: Harry Roberts
Subject: Re: [ft-devel] Unable to load OpenType font (test case + font attached)
Date: Wed, 7 Nov 2012 11:54:33 +0000

Hi, 

 Just confirming that the latest version of FreeType (from GIT) has resolved this problem, as does Suzuki's patch. I greatly appreciate both of your inputs :)

 Thank you for the insight into the OpenType format.

 There is still an outstanding issue and another big handful of PDFs to do regression testing on. I am doing my best to extract it into a test case, more debugging will show if the problem lies with Poppler or Freetype.

On 7 November 2012 06:43, Werner LEMBERG <address@hidden> wrote:

> Here is a preliminary patch to permit a font WITHOUT essential
> tables, if its header declares CFF/OpenType (by OTTO tag) and CFF
> table is included.

Hmm, the demo font works without this your patch.

> This patch does not use cmap table, it uses the character-glyph
> mapping info (Encoding dict) in CFF table.  It is NOT expected
> behaviour, because CID-keyed CFF font for CJK scripts has no
> Encoding dict. I have to work more about...

AFAIK, PDF drivers include CFFs in `pure' format if they don't need or
want to use a cmap.  I'm not sure it makes sense to support a CFF in
SFNT format without a real `cmap' table.


    Werner


reply via email to

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