From 4b93595fdfb8baa67a43603a721297ae46b1b084 Mon Sep 17 00:00:00 2001 From: Lu Wang Date: Tue, 18 Sep 2012 01:32:27 +0800 Subject: [PATCH] message about libintl.h on Mac --- CMakeLists.txt | 3 +-- README.md | 3 ++- src/include/HTMLRenderer.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8bcba7a..e8b64f3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,8 +35,7 @@ else() if(GETTEXT_INCLUDE_PATH) include_directories(${GETTEXT_INCLUDE_PATH}) else() - # disable i18n if there is no gettext - set(NO_GETTEXT "YesPlease") + message("Cannot found libintl.h, if you see errors about libintl.h, add the path to gettext header files into your include paths") endif() endif() else() diff --git a/README.md b/README.md index cd430af..c39bf01 100644 --- a/README.md +++ b/README.md @@ -55,8 +55,9 @@ Special thanks to Arthur Titeica for the [AUR Package](https://aur.archlinux.org #### Dependency * CMake, pkg-config -* compilers support C++11 +* compilers support C++11, for example * GCC >= 4.4.6 + * I heard about successful build with Clang * libpoppler with xpdf header >= 0.20.0 (compile with --enable-xpdf-headers) * Install libpng (and headers) BEFORE you compile libpoppler if you want background images generated * Install poppler-data if your want CJK support diff --git a/src/include/HTMLRenderer.h b/src/include/HTMLRenderer.h index bf50747..d7aa821 100644 --- a/src/include/HTMLRenderer.h +++ b/src/include/HTMLRenderer.h @@ -79,7 +79,7 @@ class HTMLRenderer : public OutputDev virtual GBool interpretType3Chars() { return gFalse; } // Does this device need non-text content? - virtual GBool needNonText() { return gFalse; } + virtual GBool needNonText() { return gTrue; } virtual void setDefaultCTM(double *ctm);