[Poppler-bugs] [Bug 22305] Allow building win32 relocatable dll with win32 native font backend

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jun 17 00:24:09 PDT 2009


http://bugs.freedesktop.org/show_bug.cgi?id=22305





--- Comment #2 from Fridrich Strba <fridrich.strba at bluewin.ch>  2009-06-17 00:24:09 PST ---
Thanks, Albert, for your comment.
Now, as for the relocatable dll: On windows the runtime position and build-time
position of the dll is normally different. So, it is a common place that all
windows dlls are relocatable, it means that the prefix where they are installed
does not matter. I saw the possibility to set another data directory.
Nevertheless, this patch makes the right thing without the developer having the
burden himself to determine where the data is installed. It is really not a
very intrusive change and makes allows the programs using poppler to work out
of the box on windows.
Concerning the GlobalParamsWin.cc, I tested on windows evince trunk with
poppler 0.11.0 and the fontconfig was giving inferior results. There were
bunches of text that were actually not readable. With the windows engine, the
pdfs are readable. But I agree, one could do that a configure option, since if
someone really needs (for whatever reason) use fontconfig, she should be able.
With my changes the dlls produced by Visual Studio and by MinGW behave the same
way. And if you don't build the splash output, the dll is not depending on
fontconfig/freetype combo which can be useful for some.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list