4 * Copyright (C) 2011-2016 by Werner Lemberg.
6 * This file is part of the ttfautohint library, and may only be used,
7 * modified, and distributed under the terms given in `COPYING'. By
8 * continuing to use, modify, or distribute this file you indicate that you
9 * have read `COPYING' and understand and accept it fully.
11 * The file `COPYING' mentioned in the previous paragraph is distributed
12 * with the ttfautohint library.
16 /* originally file `afloader.h' (2011-Mar-28) from FreeType */
18 /* heavily modified 2011 by Werner Lemberg <wl@gnu.org> */
27 typedef struct FONT_ FONT
;
29 typedef struct TA_LoaderRec_
31 /* current face data */
33 TA_FaceGlobals globals
;
35 /* current glyph data */
36 TA_GlyphLoader gloader
;
37 TA_GlyphHintsRec hints
;
38 TA_StyleMetrics metrics
;
40 FT_Matrix trans_matrix
;
41 FT_Vector trans_delta
;
44 /* we don't handle vertical phantom points */
45 } TA_LoaderRec
, *TA_Loader
;
49 ta_loader_init(FONT
* font
);
53 ta_loader_reset(FONT
* font
,
58 ta_loader_done(FONT
* font
);
62 ta_loader_load_glyph(FONT
* font
,
69 ta_loader_register_hints_recorder(TA_Loader loader
,
70 TA_Hints_Recorder hints_recorder
,
73 #endif /* TALOADER_H_ */
75 /* end of taloader.h */