Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/DumpAsTextDev.h
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ class DumpAsTextDev : public OutputDev {
interpolate, inlineImg);
}

void setSoftMaskFromImageMask(GfxState *state, Object *ref, Stream *str,
bool setSoftMaskFromImageMask(GfxState *state, Object *ref, Stream *str,
int width, int height, bool invert,
bool inlineImg, std::array<double, 6> &baseMatrix) {
printf("setSoftMaskFromImageMask\n");
Expand Down Expand Up @@ -482,17 +482,17 @@ class DumpAsTextDev : public OutputDev {
return OutputDev::endMarkedContent(state);
}

void beginMarkedContent(const char *name, Dict *properties) {
void beginMarkedContent(const std::string &name, Dict *properties) {
printf("beginMarkedContent\n");
return OutputDev::beginMarkedContent(name, properties);
}

void markPoint(const char *name) {
void markPoint(const std::string &name) {
printf("markPoint\n");
return OutputDev::markPoint(name);
}

void markPoint(const char *name, Dict *properties) {
void markPoint(const std::string &name, Dict *properties) {
printf("markPoint\n");
return OutputDev::markPoint(name, properties);
}
Expand Down Expand Up @@ -549,7 +549,7 @@ class DumpAsTextDev : public OutputDev {
return OutputDev::paintTransparencyGroup(A, B);
}

void setSoftMask(GfxState *A, const std::array<double, 4> &B, bool C, Function *D, GfxColor *E) {
void setSoftMask(GfxState *A, const std::array<double, 4> &B, bool C, Function *D, const GfxColor &E) {
printf("setSoftMask\n");
return OutputDev::setSoftMask(A, B, C, D, E);
}
Expand Down
3 changes: 2 additions & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include <Gfx.h>
#include <GlobalParams.h>
#include <PDFDoc.h>
#include <Annot.h>
#include <Page.h>
#include <SplashOutputDev.h>
#include <Stream.h>
Expand Down Expand Up @@ -397,7 +398,7 @@ void dump_page_glyphs(Page *page) {

PDFRectangle whole_page(-inf, -inf, inf, inf);

auto word_list = text->getSelectionWords(&whole_page, selectionStyleGlyph);
auto word_list = text->getSelectionWords(whole_page, selectionStyleGlyph);

int total_glyphs = count_glyphs(word_list);

Expand Down
2 changes: 1 addition & 1 deletion vendor/github.com/cantabular/poppler
Submodule poppler updated 174 files
Loading