]> git.pld-linux.org Git - packages/libreoffice.git/blob - openoffice-freetype-2.1.patch
- up
[packages/libreoffice.git] / openoffice-freetype-2.1.patch
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  // -----------------------------------------------------------------------
15  
16  static FT_Library aLibFT = 0;
This page took 0.024877 seconds and 3 git commands to generate.