diff --git a/TODO b/TODO index 416eafe..d50578d 100644 --- a/TODO +++ b/TODO @@ -1,4 +1,3 @@ -print css for draw/link == Future: == @@ -7,7 +6,6 @@ Too difficult/complicated to implement: - naive support for image/drawing (SVG?) - type 3 fonts (convert to SVG fonts?) - reflowable text/combine lines/unwrapping - - Printing Not enough motivated/Lazy - argument auto-completion @@ -25,3 +23,4 @@ Not enough motivated/Lazy - don't dump image when there is nothing - minimum line width of css drawing - ajax in pdf2htmlEX for separated pages + - separate classes for annotations (such that we don't have to hide all css drawings for printing) diff --git a/share/base.css.in b/share/base.css.in index f8104b4..432c878 100644 --- a/share/base.css.in +++ b/share/base.css.in @@ -72,6 +72,9 @@ overflow:visible; background-color:transparent; } + .@CSS_CSS_DRAW_CN@ { + display:none; + } } /* Part 2: Page Elements: Modify with caution * The followings are base classes, which are meant to be override by PDF specific classes diff --git a/src/pdf2htmlEX.cc b/src/pdf2htmlEX.cc index 806e91c..3eff7cf 100644 --- a/src/pdf2htmlEX.cc +++ b/src/pdf2htmlEX.cc @@ -103,7 +103,8 @@ void parse_options (int argc, char **argv) // misc. .add("clean-tmp", ¶m.clean_tmp, 1, "remove temporary files after conversion") .add("data-dir", ¶m.data_dir, PDF2HTMLEX_DATA_PATH, "specify data directory") - .add("css-draw", ¶m.css_draw, 0, "[experimental and unsupported] CSS drawing") + // TODO: css drawings are hidden on print, for annot links, need to fix it for other drawings +// .add("css-draw", ¶m.css_draw, 0, "[experimental and unsupported] CSS drawing") .add("debug", ¶m.debug, 0, "print debugging information") // meta