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
|
||||
|
||||
/*
|
||||
* multi thread disabled by WangLu
|
||||
* pdf2htmlEX: disabled multi thread
|
||||
#if MULTITHREADED
|
||||
# define fontEngineLocker() MutexLocker locker(&mutex)
|
||||
#else
|
||||
@ -768,7 +768,7 @@ CairoFontEngine::CairoFontEngine(FT_Library libA) {
|
||||
useCIDs = major > 2 ||
|
||||
(major == 2 && (minor > 1 || (minor == 1 && patch > 7)));
|
||||
/*
|
||||
* multi thread disabled by WangLu
|
||||
* pdf2htmlEX: disabled multi thread
|
||||
#if MULTITHREADED
|
||||
gInitMutex(&mutex);
|
||||
#endif
|
||||
@ -783,7 +783,7 @@ CairoFontEngine::~CairoFontEngine() {
|
||||
delete fontCache[i];
|
||||
}
|
||||
/*
|
||||
* multi thread disabled by WangLu
|
||||
* pdf2htmlEX: disabled multi thread
|
||||
#if MULTITHREADED
|
||||
gDestroyMutex(&mutex);
|
||||
#endif
|
||||
|
2
3rdparty/poppler/git/CairoFontEngine.h
vendored
2
3rdparty/poppler/git/CairoFontEngine.h
vendored
@ -122,7 +122,7 @@ private:
|
||||
FT_Library lib;
|
||||
GBool useCIDs;
|
||||
/*
|
||||
* multi thread disabled by WangLu
|
||||
* pdf2htmlEX: disabled multi thread
|
||||
#if MULTITHREADED
|
||||
GooMutex mutex;
|
||||
#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,
|
||||
GBool interpolate);
|
||||
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 alignStrokeCoords(GfxSubpath *subpath, int i, double *x, double *y);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user