mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 04:50:09 +00:00
marked changes for pdf2htmlEX
This commit is contained in:
parent
fa01e025f9
commit
2aaa2ffb1e
6
3rdparty/poppler/git/CairoFontEngine.cc
vendored
6
3rdparty/poppler/git/CairoFontEngine.cc
vendored
@ -59,7 +59,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* multi thread disabled by WangLu
|
* pdf2htmlEX: disabled multi thread
|
||||||
#if MULTITHREADED
|
#if MULTITHREADED
|
||||||
# define fontEngineLocker() MutexLocker locker(&mutex)
|
# define fontEngineLocker() MutexLocker locker(&mutex)
|
||||||
#else
|
#else
|
||||||
@ -768,7 +768,7 @@ CairoFontEngine::CairoFontEngine(FT_Library libA) {
|
|||||||
useCIDs = major > 2 ||
|
useCIDs = major > 2 ||
|
||||||
(major == 2 && (minor > 1 || (minor == 1 && patch > 7)));
|
(major == 2 && (minor > 1 || (minor == 1 && patch > 7)));
|
||||||
/*
|
/*
|
||||||
* multi thread disabled by WangLu
|
* pdf2htmlEX: disabled multi thread
|
||||||
#if MULTITHREADED
|
#if MULTITHREADED
|
||||||
gInitMutex(&mutex);
|
gInitMutex(&mutex);
|
||||||
#endif
|
#endif
|
||||||
@ -783,7 +783,7 @@ CairoFontEngine::~CairoFontEngine() {
|
|||||||
delete fontCache[i];
|
delete fontCache[i];
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
* multi thread disabled by WangLu
|
* pdf2htmlEX: disabled multi thread
|
||||||
#if MULTITHREADED
|
#if MULTITHREADED
|
||||||
gDestroyMutex(&mutex);
|
gDestroyMutex(&mutex);
|
||||||
#endif
|
#endif
|
||||||
|
2
3rdparty/poppler/git/CairoFontEngine.h
vendored
2
3rdparty/poppler/git/CairoFontEngine.h
vendored
@ -122,7 +122,7 @@ private:
|
|||||||
FT_Library lib;
|
FT_Library lib;
|
||||||
GBool useCIDs;
|
GBool useCIDs;
|
||||||
/*
|
/*
|
||||||
* multi thread disabled by WangLu
|
* pdf2htmlEX: disabled multi thread
|
||||||
#if MULTITHREADED
|
#if MULTITHREADED
|
||||||
GooMutex mutex;
|
GooMutex mutex;
|
||||||
#endif
|
#endif
|
||||||
|
4
3rdparty/poppler/git/CairoOutputDev.h
vendored
4
3rdparty/poppler/git/CairoOutputDev.h
vendored
@ -272,7 +272,9 @@ protected:
|
|||||||
cairo_filter_t getFilterForSurface(cairo_surface_t *image,
|
cairo_filter_t getFilterForSurface(cairo_surface_t *image,
|
||||||
GBool interpolate);
|
GBool interpolate);
|
||||||
GBool getStreamData (Stream *str, char **buffer, int *length);
|
GBool getStreamData (Stream *str, char **buffer, int *length);
|
||||||
virtual void setMimeData(Stream *str, Object *ref, cairo_surface_t *image);
|
// pdf2htmlEX: make setMimeData virtual, we need to override it
|
||||||
|
virtual
|
||||||
|
void setMimeData(Stream *str, Object *ref, cairo_surface_t *image);
|
||||||
void fillToStrokePathClip(GfxState *state);
|
void fillToStrokePathClip(GfxState *state);
|
||||||
void alignStrokeCoords(GfxSubpath *subpath, int i, double *x, double *y);
|
void alignStrokeCoords(GfxSubpath *subpath, int i, double *x, double *y);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user