]> git.pld-linux.org Git - packages/swftools.git/blob - swftools-poppler-0.32.patch
- rebuild with poppler 0.53
[packages/swftools.git] / swftools-poppler-0.32.patch
1 --- swftools-0.9.2/lib/pdf/GFXSplashOutputDev.h~        2015-04-12 13:58:13.000000000 +0200
2 +++ swftools-0.9.2/lib/pdf/GFXSplashOutputDev.h 2015-04-12 14:00:03.907266111 +0200
3 @@ -34,9 +34,8 @@
4  public:
5      GFXSplashOutputDev(SplashColorMode colorModeA, int bitmapRowPadA,
6                         GBool reverseVideoA, SplashColorPtr paperColorA,
7 -                       GBool bitmapTopDownA = gTrue,
8 -                       GBool allowAntialiasA = gTrue)
9 -        : SplashOutputDev(colorModeA, bitmapRowPadA, reverseVideoA, paperColorA, bitmapTopDownA, allowAntialiasA)
10 +                       GBool bitmapTopDownA = gTrue)
11 +        : SplashOutputDev(colorModeA, bitmapRowPadA, reverseVideoA, paperColorA, bitmapTopDownA)
12      {
13          needFontUpdate = gFalse;
14      }
15 --- swftools-0.9.2/lib/pdf/BitmapOutputDev.cc~  2015-04-12 13:58:13.000000000 +0200
16 +++ swftools-0.9.2/lib/pdf/BitmapOutputDev.cc   2015-04-12 14:00:45.613932477 +0200
17 @@ -72,19 +72,19 @@
18      this->xref = doc->getXRef();
19      
20      /* color graphic output device, for creating bitmaps */
21 -    this->rgbdev = new GFXSplashOutputDev(splashModeRGB8, 1, gFalse, splash_white, gTrue, gTrue);
22 +    this->rgbdev = new GFXSplashOutputDev(splashModeRGB8, 1, gFalse, splash_white, gTrue);
23    
24      /* color mode for binary bitmaps */
25      SplashColorMode colorMode = splashModeMono1;
26  
27      /* two devices for testing things against clipping: one clips, the other doesn't */
28 -    this->clip0dev = new GFXSplashOutputDev(colorMode, 1, gFalse, splash_black, gTrue, gFalse);
29 -    this->clip1dev = new GFXSplashOutputDev(colorMode, 1, gFalse, splash_black, gTrue, gFalse);
30 +    this->clip0dev = new GFXSplashOutputDev(colorMode, 1, gFalse, splash_black, gTrue);
31 +    this->clip1dev = new GFXSplashOutputDev(colorMode, 1, gFalse, splash_black, gTrue);
32      
33      /* device indicating where polygonal pixels were drawn */
34 -    this->boolpolydev = new GFXSplashOutputDev(colorMode, 1, gFalse, splash_black, gTrue, gFalse);
35 +    this->boolpolydev = new GFXSplashOutputDev(colorMode, 1, gFalse, splash_black, gTrue);
36      /* device indicating where text pixels were drawn */
37 -    this->booltextdev = new GFXSplashOutputDev(colorMode, 1, gFalse, splash_black, gTrue, gFalse);
38 +    this->booltextdev = new GFXSplashOutputDev(colorMode, 1, gFalse, splash_black, gTrue);
39  
40      /* device for handling texts and links */
41      this->gfxdev = new CharOutputDev(info, this->doc, page2page, num_pages, x, y, x1, y1, x2, y2);
42 --- swftools-0.9.2/lib/pdf/FullBitmapOutputDev.cc~      2015-04-12 13:58:13.000000000 +0200
43 +++ swftools-0.9.2/lib/pdf/FullBitmapOutputDev.cc       2015-04-12 14:01:52.577265325 +0200
44 @@ -49,7 +49,7 @@
45      msg("<verbose> Rendering everything to a bitmap");
46      
47      /* color graphic output device, for creating bitmaps */
48 -    this->rgbdev = new SplashOutputDev(splashModeRGB8, 1, gFalse, splash_white, gTrue, gTrue);
49 +    this->rgbdev = new SplashOutputDev(splashModeRGB8, 1, gFalse, splash_white, gTrue);
50    
51      /* device for handling links */
52      this->gfxdev = new CharOutputDev(info, this->doc, page2page, num_pages, x, y, x1, y1, x2, y2);
53 --- swftools-0.9.2/lib/pdf/InfoOutputDev.cc~    2015-04-12 13:58:13.000000000 +0200
54 +++ swftools-0.9.2/lib/pdf/InfoOutputDev.cc     2015-04-12 14:02:24.433931761 +0200
55 @@ -103,7 +103,7 @@
56      currentglyph = 0;
57      previous_was_char = 0;
58      SplashColor white = {255,255,255};
59 -    splash = new GFXSplashOutputDev(splashModeRGB8,320,0,white,0,0);
60 +    splash = new GFXSplashOutputDev(splashModeRGB8,320,0,white,0);
61      splash->startDoc(INFO_OUTPUT_DEV_STARTDOC_ARG);
62      last_font = 0;
63      current_type3_font = 0;
This page took 0.085421 seconds and 3 git commands to generate.