[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] Font that freetype doesn't want to open
From: |
Albert Astals Cid |
Subject: |
Re: [ft-devel] Font that freetype doesn't want to open |
Date: |
Mon, 21 Sep 2015 19:51:56 +0200 |
User-agent: |
KMail/4.14.7 (Linux/3.19.0-28-generic; KDE/4.14.8; x86_64; ; ) |
El Dilluns, 21 de setembre de 2015, a les 13:32:18, suzuki toshiya va
escriure:
> Dear Albert,
>
> As
> http://www.microsoft.com/typography/otspec/otff.htm#otttables
> says, hmtx is "required" table for self standing font.
>
> Also
> https://partners.adobe.com/public/developer/en/font/5012.Type42_Spec.pdf
> says, hmtx is "required" table for Type42 embedded font in
> PostScript, and it is also required by CIDFontType2 in PDF, too.
> (see
> http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/pdf_reference_
> 1-7.pdf p.468).
>
> However, I don't know how Adobe Reader handles a PDF
> including such font. Yet I'm not sure whether FreeType2
> should care, or, poppler should, but, if Adobe Reader opens
> it without any font substitution, some fallback should
> be considered. Where can I obtain a sample PDF?
If the font is "unfixable", i guess FreeType is doing the correct thing and
just failing, i thought poppler had a "if freetype fails try to get a font
from fontconfig", but i'm either wrong or there's a bug in that codepath.
File can be obtained at https://bugs.freedesktop.org/show_bug.cgi?id=92017
Cheers,
Albert
>
> Regards,
> mpsuzuki
>
> Werner LEMBERG wrote:
> >>> (this is tracing data from the current FreeType git version).
> >>
> >> So you're saying we should try to load some other substitute font if
> >> we encounter the font that i sent in the first email, right?
> >
> > Yes, since the font is broken and can't be sanitized by FreeType.
> >
> > Werner
> >
> > _______________________________________________
> > Freetype-devel mailing list
> > address@hidden
> > https://lists.nongnu.org/mailman/listinfo/freetype-devel
- [ft-devel] Font that freetype doesn't want to open, Albert Astals Cid, 2015/09/16
- Re: [ft-devel] Font that freetype doesn't want to open, Werner LEMBERG, 2015/09/16
- Re: [ft-devel] Font that freetype doesn't want to open, Albert Astals Cid, 2015/09/19
- Re: [ft-devel] Font that freetype doesn't want to open, Werner LEMBERG, 2015/09/19
- Re: [ft-devel] Font that freetype doesn't want to open, Albert Astals Cid, 2015/09/19
- Re: [ft-devel] Font that freetype doesn't want to open, Werner LEMBERG, 2015/09/20
- Re: [ft-devel] Font that freetype doesn't want to open, suzuki toshiya, 2015/09/21
- Re: [ft-devel] Font that freetype doesn't want to open,
Albert Astals Cid <=
- Re: [ft-devel] Font that freetype doesn't want to open, suzuki toshiya, 2015/09/21
- Re: [ft-devel] Font that freetype doesn't want to open, Albert Astals Cid, 2015/09/22
Re: [ft-devel] Font that freetype doesn't want to open, Hirwen HARENDAL, 2015/09/17