1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 13:00:08 +00:00

Fix Travis build

This commit is contained in:
Duan Yao 2014-06-18 00:04:04 +08:00
parent e468f03494
commit a57b61731d
3 changed files with 6 additions and 4 deletions

View File

@ -13,7 +13,7 @@
namespace pdf2htmlEX
{
DrawingTracer::DrawingTracer(const Param & param):param(param)
DrawingTracer::DrawingTracer(const Param & param): param(param), cairo(nullptr)
{
}

View File

@ -63,7 +63,7 @@ private:
void transform_bbox_by_ctm(double * bbox);
const Param & param;
cairo_t * cairo = nullptr;
cairo_t * cairo;
};
} /* namespace pdf2htmlEX */

View File

@ -63,8 +63,10 @@ struct HTMLLineState
double x,y;
double transform_matrix[4];
// The page-cope char index(in drawing order) of the first char in this line.
int first_char_index = -1;
const std::vector<bool> * chars_covered = nullptr;
int first_char_index;
const std::vector<bool> * chars_covered;
HTMLLineState(): first_char_index(-1), chars_covered(nullptr) { }
};
struct HTMLClipState