Skip to content

Commit 2aaa2ff

Browse files
committed
marked changes for pdf2htmlEX
1 parent fa01e02 commit 2aaa2ff

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

3rdparty/poppler/git/CairoFontEngine.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
#endif
6060

6161
/*
62-
* multi thread disabled by WangLu
62+
* pdf2htmlEX: disabled multi thread
6363
#if MULTITHREADED
6464
# define fontEngineLocker() MutexLocker locker(&mutex)
6565
#else
@@ -768,7 +768,7 @@ CairoFontEngine::CairoFontEngine(FT_Library libA) {
768768
useCIDs = major > 2 ||
769769
(major == 2 && (minor > 1 || (minor == 1 && patch > 7)));
770770
/*
771-
* multi thread disabled by WangLu
771+
* pdf2htmlEX: disabled multi thread
772772
#if MULTITHREADED
773773
gInitMutex(&mutex);
774774
#endif
@@ -783,7 +783,7 @@ CairoFontEngine::~CairoFontEngine() {
783783
delete fontCache[i];
784784
}
785785
/*
786-
* multi thread disabled by WangLu
786+
* pdf2htmlEX: disabled multi thread
787787
#if MULTITHREADED
788788
gDestroyMutex(&mutex);
789789
#endif

3rdparty/poppler/git/CairoFontEngine.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ class CairoFontEngine {
122122
FT_Library lib;
123123
GBool useCIDs;
124124
/*
125-
* multi thread disabled by WangLu
125+
* pdf2htmlEX: disabled multi thread
126126
#if MULTITHREADED
127127
GooMutex mutex;
128128
#endif

3rdparty/poppler/git/CairoOutputDev.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,9 @@ class CairoOutputDev: public OutputDev {
272272
cairo_filter_t getFilterForSurface(cairo_surface_t *image,
273273
GBool interpolate);
274274
GBool getStreamData (Stream *str, char **buffer, int *length);
275-
virtual void setMimeData(Stream *str, Object *ref, cairo_surface_t *image);
275+
// pdf2htmlEX: make setMimeData virtual, we need to override it
276+
virtual
277+
void setMimeData(Stream *str, Object *ref, cairo_surface_t *image);
276278
void fillToStrokePathClip(GfxState *state);
277279
void alignStrokeCoords(GfxSubpath *subpath, int i, double *x, double *y);
278280

0 commit comments

Comments
 (0)