You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by hd...@apache.org on 2014/03/11 08:49:24 UTC

svn commit: r1576216 - /openoffice/trunk/main/vcl/source/glyphs/graphite_adaptors.cxx

Author: hdu
Date: Tue Mar 11 07:49:24 2014
New Revision: 1576216

URL: http://svn.apache.org/r1576216
Log:
#i124394# fix inclusion of freetype's ftsynth.h header

the location of this header file changed with freetype 2.51 so we had to adapt.
On the other hand the header is not actually needed because we load the symbols
for synthetization of outlines dynamically to be compatible with freetype libs
that don't support them. So we can remove the header inclusion.

Found-by: Ariel Costenla-Haile <ar...@apache.org>
Patch-by: Herbert Duerr <hd...@apache.org>

Modified:
    openoffice/trunk/main/vcl/source/glyphs/graphite_adaptors.cxx

Modified: openoffice/trunk/main/vcl/source/glyphs/graphite_adaptors.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/source/glyphs/graphite_adaptors.cxx?rev=1576216&r1=1576215&r2=1576216&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/source/glyphs/graphite_adaptors.cxx (original)
+++ openoffice/trunk/main/vcl/source/glyphs/graphite_adaptors.cxx Tue Mar 11 07:49:24 2014
@@ -42,14 +42,10 @@
 // Platform
 #ifndef WNT
 #include <unx/saldisp.hxx>
-
 #include <salgdi.hxx>
 
-#include <freetype2/ftsynth.h>
-
 // Module
 #include "gcach_ftyp.hxx"
-
 #include <graphite_features.hxx>
 #include <graphite_adaptors.hxx>