mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-26 08:19:55 +03:00
Hook in our own libharu copy in the build.
svn path=/trunk/netsurf/; revision=6343
This commit is contained in:
parent
350ab68077
commit
1047428df5
@ -1,5 +1,5 @@
|
||||
--------------------------------------------------------------------------------
|
||||
Build Instructions for GTK NetSurf 13 October 2008
|
||||
Build Instructions for GTK NetSurf 01 February 2009
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
This document provides instructions for building the GTK version of NetSurf
|
||||
@ -60,6 +60,8 @@
|
||||
$ apt-get install libglade2-dev libcurl3-dev libxml2-dev libmng-dev
|
||||
$ apt-get install librsvg2-dev lemon re2c
|
||||
|
||||
Recent OS versions might need libcurl4-dev instead of libcurl3-dev.
|
||||
|
||||
Fedora:
|
||||
|
||||
$ yum install libglade2-devel curl-devel libxml2-devel libmng-devel
|
||||
@ -133,10 +135,12 @@
|
||||
is currently enabled by default, and cannot be auto-detected by the Makefile.
|
||||
If you wish to disable it, do so by editing Makefile.config.
|
||||
|
||||
Haru PDF can be obtained from http://libharu.sourceforge.net/, although we
|
||||
currently depend on features that the official version does not have. You
|
||||
can obtain our patched version from the following Subversion address until
|
||||
the patches are accepted upstream;
|
||||
Haru PDF can be obtained from http://libharu.org/, although we currently
|
||||
depend on features that none of the official released versions does have.
|
||||
The current development versions of libharu are fine and we anticipate
|
||||
the libharu 2.2 release will be fine for NetSurf usage.
|
||||
A recently taken snapshot of one of those libharu development versions can
|
||||
be found at:
|
||||
|
||||
svn://svn.netsurf-browser.org/trunk/libharu
|
||||
|
||||
|
@ -505,7 +505,7 @@ HPDF_Image pdf_extract_image(struct bitmap *bitmap, struct content *content)
|
||||
img_width, img_height,
|
||||
HPDF_CS_DEVICE_RGB, 8);
|
||||
|
||||
if (HPDF_Image_AddSMask(pdf_doc, image, smask) != HPDF_OK)
|
||||
if (HPDF_Image_AddSMask(image, smask) != HPDF_OK)
|
||||
image = NULL;
|
||||
|
||||
free(rgb_buffer);
|
||||
|
Loading…
Reference in New Issue
Block a user