poppler/GlobalParamsWin.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 390109044bdef1ba67c2339bffaf11b38261854d Author: Albert Astals Cid <[email protected]> Date: Thu Apr 5 13:00:59 2018 +0200 Fix windows build diff --git a/poppler/GlobalParamsWin.cc b/poppler/GlobalParamsWin.cc index 1734f6eb..072d0fbb 100644 --- a/poppler/GlobalParamsWin.cc +++ b/poppler/GlobalParamsWin.cc @@ -10,6 +10,7 @@ // Copyright (C) 2013 Dmytro Morgun <[email protected]> // Copyright (C) 2017 Christoph Cullmann <[email protected]> // Copyright (C) 2017, 2018 Albert Astals Cid <[email protected]> + // Copyright (C) 2018 Klarälvdalens Datakonsult AB, a KDAB Group company, <[email protected]>. Work sponsored by the LiMux project of the city of Munich TODO: instead of a fixed mapping defined in displayFontTab, it could scan the whole fonts directory, parse TTF files and build font @@ -553,7 +554,7 @@ GooString *GlobalParams::findSystemFontFile(GfxFont *font, GooString *base14Name) { SysFontInfo *fi; GooString *path = nullptr; - GooString *fontName = font->getName(); + const GooString *fontName = font->getName(); if (!fontName) return nullptr; lockGlobalParams; setupBaseFonts(nullptr); _______________________________________________ poppler mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/poppler
