[gdal-dev] Problems with latest pdfium

Even Rouault even.rouault at spatialys.com
Thu Jul 2 11:52:51 PDT 2020


William,

> Back to my question.  Does even 3.1 require the old pdfium fork?  This
> should be clarified in the GDAL PDF format page.

Hum, I thought
https://gdal.org/drivers/raster/pdf.html#pdfium was pretty clear about that

GDAL >= 3.1 ==> use https://github.com/rouault/pdfium_build_gdal_3_1
GDAL < 3.1 ==> use https://github.com/rouault/pdfium/tree/build

If you can think of how to make that clearer, a doc PR is welcome.

> Is this fork keeping up with any security issues? (my guess is no since last
> commit is 5 years old.)

No, none of both repository keep up with pdfium upstream. Those are just one-time efforts.

You could probably try updating 
https://github.com/rouault/pdfium_build_gdal_3_1/blob/master/build_linux.sh#L9 to a later 
revision of upstream pdfium, but you'd may have to adapt
https://github.com/rouault/pdfium_build_gdal_3_1/blob/master/code.patch

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200702/1099af0f/attachment.html>


More information about the gdal-dev mailing list