formatting and fixing typos

This commit is contained in:
David Turner 2009-04-13 00:36:45 +02:00
parent 329d42d9eb
commit 5982d4debc
2 changed files with 6 additions and 6 deletions

View File

@ -83,7 +83,7 @@
0x10000L, /* version 1.0 of the autofitter */
0x20000L, /* requires FreeType 2.0 or above */
(const void*)&AF_AF_AUTOFITTER_SERVICE_GET,
(const void*)&AF_AUTOFITTER_SERVICE_GET,
(FT_Module_Constructor)af_autofitter_init,
(FT_Module_Destructor) af_autofitter_done,

View File

@ -25,8 +25,8 @@ FT_BEGIN_HEADER
#ifndef FT_CONFIG_OPTION_PIC
# define AF_SCRIPT_CLASSES_GET af_script_classes
# define AF_AF_AUTOFITTER_SERVICE_GET af_autofitter_service
# define AF_SCRIPT_CLASSES_GET af_script_classes
# define AF_AUTOFITTER_SERVICE_GET af_autofitter_service
#else /* FT_CONFIG_OPTION_PIC */
@ -47,9 +47,9 @@ FT_BEGIN_HEADER
FT_AutoHinter_ServiceRec af_autofitter_service;
} AFModulePIC;
#define GET_PIC(lib) ((AFModulePIC*)((lib)->pic_table.autofit->data))
#define AF_SCRIPT_CLASSES_GET (GET_PIC(FT_FACE_LIBRARY(globals->face))->af_script_classes)
#define AF_AF_AUTOFITTER_SERVICE_GET (GET_PIC(library)->af_autofitter_service)
#define AF_GET_PIC(lib) ((AFModulePIC*)FT_LIBRARY_GET_PIC_DATA(lib,autofit))
#define AF_SCRIPT_CLASSES_GET (AF_GET_PIC(FT_FACE_LIBRARY(globals->face))->af_script_classes)
#define AF_AUTOFITTER_SERVICE_GET (AF_GET_PIC(library)->af_autofitter_service)
#endif /* FT_CONFIG_OPTION_PIC */