[poppler] Branch 'poppler-0.20' - poppler/GlobalParamsWin.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Thu Jun 14 11:32:11 PDT 2012
poppler/GlobalParamsWin.cc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 3575becd60585324bcefc0631b1bac47c1db3c5c
Author: Mark Brand <mabrand at mabrand.nl>
Date: Thu Jun 14 20:31:26 2012 +0200
fix typo to compile in Windows
diff --git a/poppler/GlobalParamsWin.cc b/poppler/GlobalParamsWin.cc
index b77ac4f..527f08e 100644
--- a/poppler/GlobalParamsWin.cc
+++ b/poppler/GlobalParamsWin.cc
@@ -5,6 +5,7 @@
// Copyright (C) 2012 Thomas Freitag <Thomas.Freitag at alfa.de>
// Copyright (C) 2012 Suzuki Toshiya <mpsuzuki at hiroshima-u.ac.jp>
// Copyright (C) 2012 Adrian Johnson <ajohnson at redneon.com>
+ // Copyright (C) 2012 Mark Brand <mabrand at mabrand.nl>
TODO: instead of a fixed mapping defined in displayFontTab, it could
scan the whole fonts directory, parse TTF files and build font
@@ -573,7 +574,7 @@ GooString *GlobalParams::findSystemFontFile(GfxFont *font,
*type = fi->type;
*fontNum = fi->fontNum;
if (substituteFontName)
- substituteFontName.Set(fi->substituteName->getCString());
+ substituteFontName->Set(fi->substituteName->getCString());
} else {
GooString *substFontName = new GooString(findSubstituteName(font, fontFiles,
substFiles,
More information about the poppler
mailing list