1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 04_freetype-glyph.dpatch by <hamish@debian.org>
4
## All lines beginning with `## DP:' are a description of the patch.
5
## DP: Bug fix for Freetype glyph handling
9
--- xpdf-3.00.orig/splash/SplashFTFont.cc
10
+++ xpdf-3.00/splash/SplashFTFont.cc
12
if (FT_Get_Glyph(slot, &glyph)) {
15
+ if (glyph->format != FT_GLYPH_FORMAT_OUTLINE) {
18
path.path = new SplashPath();
19
path.needClose = gFalse;
20
FT_Outline_Decompose(&((FT_OutlineGlyph)glyph)->outline,