Erik, could you please do me a favour and test a package for me? Please find the debdiff attached.
Please download this package and install it. You should install it directly using dpkg and downgrade to the official package from stable immediately once the tests are over: https://people.debian.org/~fabian/jessie/libpoppler46_0.26.5-2+deb8u1.1_amd64.deb Then, please install the fonts-texgyre package again and see if the "mu" glyph on the test page you pointed to in your initial bug report renders properly. Please make sure that the text is rendered with the TeX Gyre OTF fonts. Also, while at it, could you please check if the PDFs pointed to in these bug reports render properly as well -- in Evince, that is, not in e.g. Iceweasel's integrated PDF viewer. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=773271 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807693 Thank you so much! - Fabian
diff -Nru poppler-0.26.5/debian/changelog poppler-0.26.5/debian/changelog --- poppler-0.26.5/debian/changelog 2016-04-29 13:16:36.000000000 +0200 +++ poppler-0.26.5/debian/changelog 2017-01-13 17:09:17.000000000 +0100 @@ -1,3 +1,12 @@ +poppler (0.26.5-2+deb8u1.1) jessie; urgency=medium + + * Non-maintainer upload. + * Backport upstream commit 8d5778feeb3c6cd932ecd7abeba7d1e670d2af66 to try + finding glyphs in substitute fonts by unicode value. + (Closes: #847935, #773271, #807693) + + -- Fabian Greffrath <fab...@debian.org> Fri, 13 Jan 2017 17:09:17 +0100 + poppler (0.26.5-2+deb8u1) jessie-security; urgency=medium * Backport upstream commit b3425dd3261679958cd56c0f71995c15d2124433 to fix diff -Nru poppler-0.26.5/debian/patches/series poppler-0.26.5/debian/patches/series --- poppler-0.26.5/debian/patches/series 2016-04-29 13:16:36.000000000 +0200 +++ poppler-0.26.5/debian/patches/series 2017-01-13 17:09:17.000000000 +0100 @@ -1,3 +1,4 @@ upstream_Map-Standard-Expert-encoding-ligatures-to-AGLFN-name.patch qt-visibility.diff upstream_Do-not-crash-on-invalid-files.patch +upstream_cairo-try-finding-glyphs-in-substitute-fonts-by-unic.patch diff -Nru poppler-0.26.5/debian/patches/upstream_cairo-try-finding-glyphs-in-substitute-fonts-by-unic.patch poppler-0.26.5/debian/patches/upstream_cairo-try-finding-glyphs-in-substitute-fonts-by-unic.patch --- poppler-0.26.5/debian/patches/upstream_cairo-try-finding-glyphs-in-substitute-fonts-by-unic.patch 1970-01-01 01:00:00.000000000 +0100 +++ poppler-0.26.5/debian/patches/upstream_cairo-try-finding-glyphs-in-substitute-fonts-by-unic.patch 2017-01-13 17:06:20.000000000 +0100 @@ -0,0 +1,29 @@ +From 8d5778feeb3c6cd932ecd7abeba7d1e670d2af66 Mon Sep 17 00:00:00 2001 +From: Adrian Johnson <ajohn...@redneon.com> +Date: Tue, 19 Jul 2016 22:58:39 +0930 +Subject: [PATCH 01/91] cairo: try finding glyphs in substitute fonts by + unicode value + +if the glyph name can not be found in the substitute font, try +converting the name to unicode value in see of the font cmap has a +mapping for the character. + +Bug 96994 +--- + poppler/CairoFontEngine.cc | 5 +++++ + 1 file changed, 5 insertions(+) + +--- a/poppler/CairoFontEngine.cc ++++ b/poppler/CairoFontEngine.cc +@@ -459,6 +459,11 @@ CairoFreeTypeFont *CairoFreeTypeFont::cr + if ((name = enc[i])) { + codeToGID[i] = FT_Get_Name_Index(face, (char*)name); + if (codeToGID[i] == 0) { ++ Unicode u; ++ u = globalParams->mapNameToUnicodeText (name); ++ codeToGID[i] = FT_Get_Char_Index (face, u); ++ } ++ if (codeToGID[i] == 0) { + name = GfxFont::getAlternateName(name); + if (name) { + codeToGID[i] = FT_Get_Name_Index(face, (char*)name);
signature.asc
Description: This is a digitally signed message part