diff --git a/src/BackgroundRenderer/CairoOutputDev/CairoOutputDev.cc b/src/BackgroundRenderer/CairoOutputDev/CairoOutputDev.cc index 1eb001c..1efb033 100644 --- a/src/BackgroundRenderer/CairoOutputDev/CairoOutputDev.cc +++ b/src/BackgroundRenderer/CairoOutputDev/CairoOutputDev.cc @@ -1319,6 +1319,8 @@ void CairoOutputDev::endString(GfxState *state) GBool CairoOutputDev::beginType3Char(GfxState *state, double x, double y, double dx, double dy, CharCode code, Unicode *u, int uLen) { + //debug +printf("DEBUG: beginType3Char\n"); cairo_save (cairo); double *ctm; diff --git a/src/HTMLRenderer/font.cc b/src/HTMLRenderer/font.cc index e8efe73..b668e8e 100644 --- a/src/HTMLRenderer/font.cc +++ b/src/HTMLRenderer/font.cc @@ -605,7 +605,6 @@ const FontInfo * HTMLRenderer::install_font(GfxFont * font) FontInfo & new_font_info = cur_info_iter->second; new_font_info.id = new_fn_id; new_font_info.use_tounicode = true; - new_font_info.is_embeded = false; if(font == nullptr) { @@ -653,14 +652,12 @@ const FontInfo * HTMLRenderer::install_font(GfxFont * font) switch(font_loc -> locType) { case gfxFontLocEmbedded: - new_font_info.is_embeded = true; install_embedded_font(font, new_font_info); break; case gfxFontLocResident: std::cerr << "Warning: Base 14 fonts should not be specially handled now. Please report a bug!" << std::endl; /* fall through */ case gfxFontLocExternal: - new_font_info.is_embeded = false; install_external_font(font, new_font_info); break; default: diff --git a/src/HTMLState.h b/src/HTMLState.h index 587e7ea..d53fea2 100644 --- a/src/HTMLState.h +++ b/src/HTMLState.h @@ -17,7 +17,6 @@ struct FontInfo double space_width; double ascent, descent; bool is_type3; - bool is_embeded; }; struct HTMLTextState diff --git a/src/pdf2htmlEX.cc b/src/pdf2htmlEX.cc index 176bdd6..0de8a5b 100644 --- a/src/pdf2htmlEX.cc +++ b/src/pdf2htmlEX.cc @@ -290,7 +290,7 @@ void check_param() #ifdef ENABLE_LIBJPEG else if (param.bg_format == "jpg") { } #endif -#if not ENABLE_SVG +#if ENABLE_SVG else if(param.bg_format == "svg") { } #endif else