]> git.pld-linux.org Git - packages/libreoffice.git/blob - openoffice-gui-ft-21-compat.patch
- use pointSize()
[packages/libreoffice.git] / openoffice-gui-ft-21-compat.patch
1 Index: vcl/source/glyphs/gcach_ftyp.cxx
2 ===================================================================
3 RCS file: /cvs/gsl/vcl/source/glyphs/gcach_ftyp.cxx,v
4 retrieving revision 1.90
5 diff -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.026245 seconds and 3 git commands to generate.