summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryon Roche <kain@gentoo.org>2002-04-30 14:42:11 +0000
committerBryon Roche <kain@gentoo.org>2002-04-30 14:42:11 +0000
commit3a62100eebb2b3e5c849cd93beecefc13797144d (patch)
tree95251edb3e8696cfa674d24764b0b9b258c67c32 /app-text/xpdf
parentAdded Intel Microcode update util. Closes Bug #2260 (diff)
downloadhistorical-3a62100eebb2b3e5c849cd93beecefc13797144d.tar.gz
historical-3a62100eebb2b3e5c849cd93beecefc13797144d.tar.bz2
historical-3a62100eebb2b3e5c849cd93beecefc13797144d.zip
Oops! I guess I forgot to cvs add the patch
Diffstat (limited to 'app-text/xpdf')
-rw-r--r--app-text/xpdf/files/FTFont-freetype2.1-fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-text/xpdf/files/FTFont-freetype2.1-fix.patch b/app-text/xpdf/files/FTFont-freetype2.1-fix.patch
new file mode 100644
index 000000000000..c181cbef58ed
--- /dev/null
+++ b/app-text/xpdf/files/FTFont-freetype2.1-fix.patch
@@ -0,0 +1,12 @@
+diff -urN xpdf-1.00.orig/xpdf/FTFont.cc xpdf-1.00/xpdf/FTFont.cc
+--- xpdf-1.00.orig/xpdf/FTFont.cc Tue Apr 30 02:05:34 2002
++++ xpdf-1.00/xpdf/FTFont.cc Tue Apr 30 02:06:33 2002
+@@ -495,7 +495,7 @@
+ break;
+ case ftFontModeCFFCharset:
+ #if 1 //~ cff cid->gid map
+- CFF_Font *cff = (CFF_Font *)((TT_Face)fontFile->face)->extra.data;
++ CFF_FontRec *cff = (CFF_FontRec *)((TT_Face)fontFile->face)->extra.data;
+ idx = 0;
+ for (j = 0; j < (int)cff->num_glyphs; ++j) {
+ if (cff->charset.sids[j] == c) {