]> git.pld-linux.org Git - packages/libreoffice.git/blame - openoffice-gui-ft-21-compat.patch
- DON'T hardcode java paths!
[packages/libreoffice.git] / openoffice-gui-ft-21-compat.patch
CommitLineData
5cc47c02 1Index: vcl/source/glyphs/gcach_ftyp.cxx
2===================================================================
3RCS file: /cvs/gsl/vcl/source/glyphs/gcach_ftyp.cxx,v
4retrieving revision 1.90
5diff -u -p -u -r1.90 gcach_ftyp.cxx
6--- vcl/source/glyphs/gcach_ftyp.cxx 24 Apr 2003 10:29:11 -0000 1.90
7+++ vcl/source/glyphs/gcach_ftyp.cxx 13 May 2003 12:55:20 -0000
8@@ -113,6 +113,13 @@
9 #include <settings.hxx>
10 #include <tools/lang.hxx>
11
12+#if defined(FT_NEXT_SHORT) && !defined(NEXT_Short)
13+// Freetype 2.1 isn't fully compatible with the *internal(!)* API used by OOo
14+# define NEXT_Short(x) FT_NEXT_SHORT(x)
15+# define NEXT_UShort(x) FT_NEXT_USHORT(x)
16+# define NEXT_Long(x) FT_NEXT_LONG(x)
17+#endif
18+
19 // -----------------------------------------------------------------------
20
21 static FT_Library aLibFT = 0;
This page took 0.037616 seconds and 4 git commands to generate.