X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fpdf%2Fxpdf-changes.patch;h=2cdaf30c4f61c14ff04b0d69191fcab23b3a7ff1;hp=ddbd0cdeac2f7e98d876b0a7fac546a397dabe6e;hb=refs%2Fheads%2Fstartpage;hpb=20f395856f21739e79eeab275beec7a3d133d568 diff --git a/lib/pdf/xpdf-changes.patch b/lib/pdf/xpdf-changes.patch index ddbd0cd..2cdaf30 100644 --- a/lib/pdf/xpdf-changes.patch +++ b/lib/pdf/xpdf-changes.patch @@ -162,6 +162,15 @@ --- xpdf/GfxFont.cc.orig 2010-05-18 11:22:18.000000000 -0700 +++ xpdf/GfxFont.cc 2010-05-18 11:22:18.000000000 -0700 +@@ -194,7 +194,7 @@ + embFontID = obj2.getRef(); + if (type != fontType1) { + error(-1, "Mismatch between font type and embedded font file"); +- type = fontType1; ++ type = isCIDFont() ? fontCIDType0 : fontType1; + } + } + obj2.free(); @@ -919,6 +919,10 @@ return 1; }