poppler/GlobalParamsWin.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 2f156b34fc8755ddd2a32cac830f3073d6b2c481 Author: Suzuki Toshiya <[email protected]> Date: Fri Mar 23 20:00:18 2012 +0100 Fix compile in mingw-gcc diff --git a/poppler/GlobalParamsWin.cc b/poppler/GlobalParamsWin.cc index dd8768a..36da74a 100644 --- a/poppler/GlobalParamsWin.cc +++ b/poppler/GlobalParamsWin.cc @@ -3,6 +3,7 @@ // Copyright (C) 2010 Hib Eris <[email protected]> // Copyright (C) 2012 Thomas Freitag <[email protected]> + // Copyright (C) 2012 Suzuki Toshiya <[email protected]> TODO: instead of a fixed mapping defined in displayFontTab, it could scan the whole fonts directory, parse TTF files and build font @@ -448,7 +449,7 @@ void GlobalParams::setupBaseFonts(char * dir) } } -static char *findSubstituteName(GfxFont *font, GooHash *substFiles, const char *origName) +static const char *findSubstituteName(GfxFont *font, GooHash *substFiles, const char *origName) { assert(origName); if (!origName) return NULL; _______________________________________________ poppler mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/poppler
