Index: src/autofit/afmodule.h |
diff --git a/src/autofit/afmodule.h b/src/autofit/afmodule.h |
index d9792399b6374e019d61d0f95987b8144a8234c7..c4e8f8f66ad185bfbd3817a0f4f13b7758399588 100644 |
--- a/src/autofit/afmodule.h |
+++ b/src/autofit/afmodule.h |
@@ -23,9 +23,30 @@ |
#include FT_INTERNAL_OBJECTS_H |
#include FT_MODULE_H |
+#include "afloader.h" |
+ |
FT_BEGIN_HEADER |
+ |
+ /* |
+ * This is the `extended' FT_Module structure which holds the |
+ * autofitter's global data. Right before hinting a glyph, the data |
+ * specific to the glyph's face (blue zones, stem widths, etc.) are |
+ * loaded into `loader' (see function `af_loader_reset'). |
+ */ |
+ |
+ typedef struct AF_ModuleRec_ |
+ { |
+ FT_ModuleRec root; |
+ |
+ FT_UInt fallback_script; |
+ |
+ AF_LoaderRec loader[1]; |
+ |
+ } AF_ModuleRec; |
+ |
+ |
FT_DECLARE_MODULE(autofit_module_class) |