]> git.pld-linux.org Git - packages/libreoffice.git/blame - openoffice-freetype-2.1.patch
- taken from RH
[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+
14 // Glyph Flags
15 #define GF_NONE 0
16 #define GF_ROTMASK 3
This page took 0.024339 seconds and 4 git commands to generate.