diff --git a/src/Consts.cc b/src/Consts.cc index b4e3785..f0cff08 100644 --- a/src/Consts.cc +++ b/src/Consts.cc @@ -36,7 +36,7 @@ const std::string HTML_HEAD = "\n\ }\ .l > .w {\ display:inline-block;\ - visibility:hidden;\ + font-family: monospace;\ }\ ::selection{\ background: rgba(168,209,255,0.5);\ diff --git a/src/HTMLRenderer.h b/src/HTMLRenderer.h index 0664031..f485971 100644 --- a/src/HTMLRenderer.h +++ b/src/HTMLRenderer.h @@ -94,7 +94,7 @@ class HTMLRenderer : public OutputDev virtual void drawImage(GfxState * state, Object * ref, Stream * str, int width, int height, GfxImageColorMap * colorMap, GBool interpolate, int *maskColors, GBool inlineImg); - private: + protected: void close_cur_line(); // return the mapped font name diff --git a/src/pdftohtmlEX.cc b/src/pdftohtmlEX.cc index 249d588..b8e6dd3 100644 --- a/src/pdftohtmlEX.cc +++ b/src/pdftohtmlEX.cc @@ -18,14 +18,14 @@ #include -#include "Object.h" -#include "PDFDoc.h" -#include "PDFDocFactory.h" -#include "HTMLRenderer.h" -#include "GlobalParams.h" -#include "Error.h" -#include "DateInfo.h" +#include +#include +#include +#include +#include +#include +#include "HTMLRenderer.h" #include "Param.h" #define PDFTOHTMLEX_VERSION "0.1"