]> git.pld-linux.org Git - packages/libreoffice.git/blame - openoffice-freetype-2.1.patch
- DON'T hardcode java paths!
[packages/libreoffice.git] / openoffice-freetype-2.1.patch
CommitLineData
357b2b18
PG
1--- oo_1.0_src/vcl/source/glyphs/gcach_ftyp.cxx.ft21 2002-06-04 10:35:42.000000000 +0200
2+++ oo_1.0_src/vcl/source/glyphs/gcach_ftyp.cxx 2002-06-04 10:46:33.000000000 +0200
3@@ -108,6 +108,13 @@
4 #include <settings.hxx>
5 #include <tools/lang.hxx>
6
7+#if defined(FT_NEXT_SHORT) && !defined(NEXT_Short)
8+// Freetype 2.1 isn't fully compatible with the *internal(!)* API used by OOo
9+#define NEXT_Short(x) FT_NEXT_SHORT(x)
10+#define NEXT_UShort(x) FT_NEXT_USHORT(x)
11+#define NEXT_Long(x) FT_NEXT_LONG(x)
12+#endif
13+
0354dc6a 14 // -----------------------------------------------------------------------
15
16 static FT_Library aLibFT = 0;
This page took 0.068179 seconds and 4 git commands to generate.