From f76f491ff7697481dc96f462e0ef7f97920d8c41 Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Thu, 23 Aug 2012 13:34:26 +0200 Subject: [PATCH] Fix typos, add comments. --- src/autofit/afmodule.c | 12 ++++++------ src/autofit/afpic.h | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/autofit/afmodule.c b/src/autofit/afmodule.c index 20b621838..6e158e081 100644 --- a/src/autofit/afmodule.c +++ b/src/autofit/afmodule.c @@ -4,7 +4,7 @@ /* */ /* Auto-fitter module implementation (body). */ /* */ -/* Copyright 2003-2006, 2009, 2011 by */ +/* Copyright 2003-2006, 2009, 2011-2012 by */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* */ /* This file is part of the FreeType project, and may only be used, */ @@ -68,10 +68,10 @@ FT_DEFINE_AUTOHINTER_SERVICE( af_autofitter_service, - NULL, - NULL, - NULL, - (FT_AutoHinter_GlyphLoadFunc)af_autofitter_load_glyph ) + NULL, /* reset_face */ + NULL, /* get_global_hints */ + NULL, /* done_global_hints */ + (FT_AutoHinter_GlyphLoadFunc)af_autofitter_load_glyph ) /* load_glyph */ FT_DEFINE_MODULE( autofit_module_class, @@ -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, diff --git a/src/autofit/afpic.h b/src/autofit/afpic.h index 21b0ff988..0b08d69a2 100644 --- a/src/autofit/afpic.h +++ b/src/autofit/afpic.h @@ -4,7 +4,7 @@ /* */ /* The FreeType position independent code services for autofit module. */ /* */ -/* Copyright 2009, 2011 by */ +/* Copyright 2009, 2011-2012 by */ /* Oran Agra and Mickey Gabel. */ /* */ /* This file is part of the FreeType project, and may only be used, */ @@ -26,8 +26,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 */ @@ -54,7 +54,7 @@ FT_BEGIN_HEADER ( (AFModulePIC*)((lib)->pic_container.autofit) ) #define AF_SCRIPT_CLASSES_GET \ ( GET_PIC( FT_FACE_LIBRARY(globals->face) )->af_script_classes ) -#define AF_AF_AUTOFITTER_SERVICE_GET \ +#define AF_AUTOFITTER_SERVICE_GET \ ( GET_PIC( library )->af_autofitter_service ) /* see afpic.c for the implementation */