| OLD | NEW |
| 1 /***************************************************************************/ | 1 /***************************************************************************/ |
| 2 /* */ | 2 /* */ |
| 3 /* sfntpic.h */ | 3 /* sfntpic.h */ |
| 4 /* */ | 4 /* */ |
| 5 /* The FreeType position independent code services for sfnt module. */ | 5 /* The FreeType position independent code services for sfnt module. */ |
| 6 /* */ | 6 /* */ |
| 7 /* Copyright 2009 by */ | 7 /* Copyright 2009 by */ |
| 8 /* Oran Agra and Mickey Gabel. */ | 8 /* Oran Agra and Mickey Gabel. */ |
| 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 __SFNTPIC_H__ | 19 #ifndef __SFNTPIC_H__ |
| 20 #define __SFNTPIC_H__ | 20 #define __SFNTPIC_H__ |
| 21 | 21 |
| 22 | 22 |
| 23 FT_BEGIN_HEADER | 23 FT_BEGIN_HEADER |
| 24 | 24 |
| 25 #include FT_INTERNAL_PIC_H | 25 #include FT_INTERNAL_PIC_H |
| 26 | 26 |
| 27 #ifndef FT_CONFIG_OPTION_PIC | 27 #ifndef FT_CONFIG_OPTION_PIC |
| 28 #define FT_SFNT_SERVICES_GET sfnt_services | 28 #define FT_SFNT_SERVICES_GET sfnt_services |
| 29 #define FT_SFNT_SERVICE_GLYPH_DICT_GET sfnt_service_glyph_dict | 29 #define FT_SFNT_SERVICE_GLYPH_DICT_GET sfnt_service_glyph_dict |
| 30 #define FT_SFNT_SERVICE_PS_NAME_GET sfnt_service_ps_name | 30 #define FT_SFNT_SERVICE_PS_NAME_GET sfnt_service_ps_name |
| 31 #define FT_TT_SERVICE_GET_CMAP_INFO_GET tt_service_get_cmap_info | 31 #define FT_TT_SERVICE_GET_CMAP_INFO_GET tt_service_get_cmap_info |
| 32 #define FT_SFNT_SERVICES_GET sfnt_services | 32 #define FT_SFNT_SERVICES_GET sfnt_services |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 #define FT_SFNT_SERVICES_GET (GET_PIC(library)->sfnt_services) | 69 #define FT_SFNT_SERVICES_GET (GET_PIC(library)->sfnt_services) |
| 70 #define FT_SFNT_SERVICE_GLYPH_DICT_GET (GET_PIC(library)->sfnt_service_glyph_
dict) | 70 #define FT_SFNT_SERVICE_GLYPH_DICT_GET (GET_PIC(library)->sfnt_service_glyph_
dict) |
| 71 #define FT_SFNT_SERVICE_PS_NAME_GET (GET_PIC(library)->sfnt_service_ps_nam
e) | 71 #define FT_SFNT_SERVICE_PS_NAME_GET (GET_PIC(library)->sfnt_service_ps_nam
e) |
| 72 #define FT_TT_SERVICE_GET_CMAP_INFO_GET (GET_PIC(library)->tt_service_get_cmap
_info) | 72 #define FT_TT_SERVICE_GET_CMAP_INFO_GET (GET_PIC(library)->tt_service_get_cmap
_info) |
| 73 #define FT_SFNT_SERVICES_GET (GET_PIC(library)->sfnt_services) | 73 #define FT_SFNT_SERVICES_GET (GET_PIC(library)->sfnt_services) |
| 74 #define FT_TT_CMAP_CLASSES_GET (GET_PIC(library)->tt_cmap_classes) | 74 #define FT_TT_CMAP_CLASSES_GET (GET_PIC(library)->tt_cmap_classes) |
| 75 #define FT_SFNT_SERVICE_SFNT_TABLE_GET (GET_PIC(library)->sfnt_service_sfnt_t
able) | 75 #define FT_SFNT_SERVICE_SFNT_TABLE_GET (GET_PIC(library)->sfnt_service_sfnt_t
able) |
| 76 #define FT_SFNT_SERVICE_BDF_GET (GET_PIC(library)->sfnt_service_bdf) | 76 #define FT_SFNT_SERVICE_BDF_GET (GET_PIC(library)->sfnt_service_bdf) |
| 77 #define FT_SFNT_INTERFACE_GET (GET_PIC(library)->sfnt_interface) | 77 #define FT_SFNT_INTERFACE_GET (GET_PIC(library)->sfnt_interface) |
| 78 | 78 |
| 79 /* see sfntpic.c for the implementation */ |
| 80 void |
| 81 sfnt_module_class_pic_free( FT_Library library ); |
| 82 |
| 83 FT_Error |
| 84 sfnt_module_class_pic_init( FT_Library library ); |
| 85 |
| 79 #endif /* FT_CONFIG_OPTION_PIC */ | 86 #endif /* FT_CONFIG_OPTION_PIC */ |
| 80 | 87 |
| 81 /* */ | 88 /* */ |
| 82 | 89 |
| 83 FT_END_HEADER | 90 FT_END_HEADER |
| 84 | 91 |
| 85 #endif /* __SFNTPIC_H__ */ | 92 #endif /* __SFNTPIC_H__ */ |
| 86 | 93 |
| 87 | 94 |
| 88 /* END */ | 95 /* END */ |
| OLD | NEW |