OLD | NEW |
1 /***************************************************************************/ | 1 /***************************************************************************/ |
2 /* */ | 2 /* */ |
3 /* svwinfnt.h */ | 3 /* svwinfnt.h */ |
4 /* */ | 4 /* */ |
5 /* The FreeType Windows FNT/FONT service (specification). */ | 5 /* The FreeType Windows FNT/FONT service (specification). */ |
6 /* */ | 6 /* */ |
7 /* Copyright 2003 by */ | 7 /* Copyright 2003 by */ |
8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ | 8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ |
9 /* */ | 9 /* */ |
10 /* This file is part of the FreeType project, and may only be used, */ | 10 /* This file is part of the FreeType project, and may only be used, */ |
11 /* modified, and distributed under the terms of the FreeType project */ | 11 /* modified, and distributed under the terms of the FreeType project */ |
12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ | 12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ |
13 /* this file you indicate that you have read the license and */ | 13 /* this file you indicate that you have read the license and */ |
14 /* understand and accept it fully. */ | 14 /* understand and accept it fully. */ |
15 /* */ | 15 /* */ |
16 /***************************************************************************/ | 16 /***************************************************************************/ |
17 | 17 |
18 | 18 |
19 #ifndef __SVWINFNT_H__ | 19 #ifndef __SVWINFNT_H__ |
20 #define __SVWINFNT_H__ | 20 #define __SVWINFNT_H__ |
21 | 21 |
22 #include "../ftserv.h" | 22 #include FT_INTERNAL_SERVICE_H |
23 #include "../../ftwinfnt.h" | 23 #include FT_WINFONTS_H |
24 | 24 |
25 | 25 |
26 FT_BEGIN_HEADER | 26 FT_BEGIN_HEADER |
27 | 27 |
28 | 28 |
29 #define FT_SERVICE_ID_WINFNT "winfonts" | 29 #define FT_SERVICE_ID_WINFNT "winfonts" |
30 | 30 |
31 typedef FT_Error | 31 typedef FT_Error |
32 (*FT_WinFnt_GetHeaderFunc)( FT_Face face, | 32 (*FT_WinFnt_GetHeaderFunc)( FT_Face face, |
33 FT_WinFNT_HeaderRec *aheader ); | 33 FT_WinFNT_HeaderRec *aheader ); |
34 | 34 |
35 | 35 |
36 FT_DEFINE_SERVICE( WinFnt ) | 36 FT_DEFINE_SERVICE( WinFnt ) |
37 { | 37 { |
38 FT_WinFnt_GetHeaderFunc get_header; | 38 FT_WinFnt_GetHeaderFunc get_header; |
39 }; | 39 }; |
40 | 40 |
41 /* */ | 41 /* */ |
42 | 42 |
43 | 43 |
44 FT_END_HEADER | 44 FT_END_HEADER |
45 | 45 |
46 | 46 |
47 #endif /* __SVWINFNT_H__ */ | 47 #endif /* __SVWINFNT_H__ */ |
48 | 48 |
49 | 49 |
50 /* END */ | 50 /* END */ |
OLD | NEW |