![]() (Also, it's interesting to note that prior to PR #4259 those fonts didn't render even remotely correct.) Unfortunately our font code might not be as resilient to errors/weirdness in CFF files as one would like.Ī very quick look into this PDF file suggests that issue #5132 may become relevant here. Since we're generally able to parse/convert CFF data into valid OpenType fonts, I'm thinking that this may point to something being wrong with the CFF file. As the OTS errors, and #6343 (comment), shows we unfortunately don't succeed in creating a valid font. We attempt to parse and convert the CFF file into an OpenType font, which is then passed to the browser. This means that the font data is embedded as a CFF (Compact Font Format) file. The problematic fonts (in the PDF file) are of the CIDFontType0 type, with a CIDFontType0C subtype. Here is a screenshot of that text when viewing the PDF in IE 11:Īnd here is a screenshot of that text when viewing the PDF in Chrome (it looks the same in Firefox): Itatem quide id maionsequi officae sitaqui ut que dolessequis explitior rendis." The problem text in particular is in the lower left corner of the single page document, the white text on a blue background that reads: "Odiant. (The PDF loads and displays as expected when using a stand-alone PDF view, such as Adobe Acrobat Reader.) ![]() However, when I go to the same URL and open the same document using either the latest version of Chrome (v44) or Firefox (v39) the font does not appear to render and there are a number of small boxes interspersed through the text. When I go to the pdf.js web viewer online at and open this PDF using IE 11, it views fine. I have a PDF document (see ) that contains Helvetica Neu as an embedded font.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |