Summary: | Undefined reference to winFontDir | ||
---|---|---|---|
Product: | poppler | Reporter: | Émilien Tlapale <emilien> |
Component: | general | Assignee: | poppler-bugs <poppler-bugs> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Émilien Tlapale
2007-07-12 05:45:01 UTC
Can you try this? Index: GlobalParams.cc =================================================================== RCS file: /cvs/poppler/poppler/poppler/GlobalParams.cc,v retrieving revision 1.23 diff -u -r1.23 GlobalParams.cc --- GlobalParams.cc 11 Jul 2007 18:12:27 -0000 1.23 +++ GlobalParams.cc 12 Jul 2007 20:27:18 -0000 @@ -810,12 +810,6 @@ void GlobalParams::setBaseDir(char *dir) { delete baseDir; baseDir = new GooString(dir); - -#ifdef WIN32 - if (winFontDir[0]) { - winFontList = new WinFontList(winFontDir); - } -#endif } //------------------------------------------------------------------------ Yes, removing the lines works (no one uses this function anyway). Appart from that I got undefined references to `_EnumFontsA@16' while running make in utils/. I think (but it may be my fault) that some -lgdi32 are missing (adding them allow to compile the .exe). Ok, closing the bug then, feel free to open a bug with patches to fix your link problems. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.