[poppler] [patch] freetype_check

Martin Kretzschmar m_kretzschmar at gmx.net
Sun Sep 4 07:27:18 PDT 2005


Kristian Høgsberg schrieb:
>> Index: configure.ac
>> ===================================================================
>> RCS file: /cvs/poppler/poppler/configure.ac,v
>> retrieving revision 1.32
>> diff -u -r1.32 configure.ac
>> --- configure.ac    28 Aug 2005 03:19:55 -0000    1.32
>> +++ configure.ac    29 Aug 2005 00:31:56 -0000
>> @@ -152,7 +152,7 @@
>>  if test "x$freetype_pkgconfig" = "xyes"; then
>>  
>>    AC_DEFINE(HAVE_FREETYPE_H, 1, [Have FreeType2 include files])
>> -  AC_DEFINE_UNQUOTED(HAVE_FREETYPE_217_OR_OLDER, 1, [Defines if your 
>> system has the freetype library 2.1.7 or older])
>> +  AC_DEFINE_UNQUOTED(HAVE_FREETYPE_217_OR_OLDER, 0, [Defines if your 
>> system has the freetype library 2.1.7 or older])

This is wrong and most likely breaks some pdfs. Freetype 2.1.7 has 
pkg-config version 9.5.3 as well, the wrong code path will be used there.

xpdf 3.01 does the check at runtime IIRC.

Martin



More information about the poppler mailing list