From 4a8d0bcd31cbe310185a71ebc7b534acdf8fd711 Mon Sep 17 00:00:00 2001 From: Lu Wang Date: Sat, 9 Nov 2013 16:22:45 +0800 Subject: [PATCH] clean a few pointers to jquery --- README.md | 1 - share/build_js.sh | 1 - src/HTMLRenderer/text.cc | 1 + 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 85f0e29..f14e31a 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,6 @@ pdf2htmlEX is made possible thanks to the following projects: * [poppler](http://poppler.freedesktop.org/) * [Fontforge](http://fontforge.org/) -* [jQuery](http://jquery.com/) pdf2htmlEX is inspired by the following projects: diff --git a/share/build_js.sh b/share/build_js.sh index b6caff5..ced592e 100755 --- a/share/build_js.sh +++ b/share/build_js.sh @@ -17,7 +17,6 @@ OUTPUT="$BASEDIR/$OUTPUT_FN" java -jar "$CLOSURE_COMPILER_JAR" \ --compilation_level ADVANCED_OPTIMIZATIONS \ --warning_level VERBOSE \ - --process_jquery_primitives \ --output_wrapper "(function(){%output%})();" \ --js "$INPUT" \ --js_output_file "$OUTPUT" && \ diff --git a/src/HTMLRenderer/text.cc b/src/HTMLRenderer/text.cc index fc56eff..289f053 100644 --- a/src/HTMLRenderer/text.cc +++ b/src/HTMLRenderer/text.cc @@ -135,6 +135,7 @@ void HTMLRenderer::drawString(GfxState * state, GooString * s) // horiz_scaling is merged into ctm now, // so the coordinate system is ugly + // TODO: why multiply hs here dx = (dx * cur_font_size + nChars * cur_letter_space + nSpaces * cur_word_space) * hs; dy *= cur_font_size;