[poppler] Poppler 0.22.1 released
Albert Astals Cid
aacid at kde.org
Tue Feb 12 14:00:27 PST 2013
El Dilluns, 11 de febrer de 2013, a les 09:43:45, Peter Breitenlohner va
escriure:
> On Sun, 10 Feb 2013, Victor Ivrii wrote:
> > Poppler and seems to have problems with the latest jpegsrc.v9; it return
> > an
> > error on make
> >
> > JpegWriter.cc: In member function 'virtual bool JpegWriter::init(FILE*,
> > int, int, int, int)':
> > JpegWriter.cc:120: error: cannot convert 'bool' to 'boolean' for argument
> > '3' to 'void jpeg_set_quality(jpeg_compress_struct*, int, boolean)'
>
> Hi,
>
> with this patch building poppler-0.22.1 with jpeg v9 succeeds.
Pushed.
> BTW: Why was there one true while all the others are TRUE?
Because people make mistakes :-)
Cheers,
Albert
>
> From 095d755e63fcc42750d3640da9b994c615349466 Mon Sep 17 00:00:00 2001
> From: Peter Breitenlohner <peb at mppmu.mpg.de>
> Date: Mon, 11 Feb 2013 09:34:47 +0100
> Subject: [PATCH] Fix for jpeg v9
>
>
> Signed-off-by: Peter Breitenlohner <peb at mppmu.mpg.de>
> ---
> goo/JpegWriter.cc | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/goo/JpegWriter.cc b/goo/JpegWriter.cc
> index 09f9b7b..61b5fd0 100644
> --- a/goo/JpegWriter.cc
> +++ b/goo/JpegWriter.cc
> @@ -117,7 +117,7 @@ bool JpegWriter::init(FILE *f, int width, int height,
> int hDPI, int vDPI)
>
> // Set quality
> if (priv->quality >= 0 && priv->quality <= 100) {
> - jpeg_set_quality(&priv->cinfo, priv->quality, true);
> + jpeg_set_quality(&priv->cinfo, priv->quality, TRUE);
> }
>
> // Use progressive mode
More information about the poppler
mailing list