diff options
Diffstat (limited to 'Build/source/texk/web2c/xetexdir/XeTeXOTMath.h')
-rw-r--r-- | Build/source/texk/web2c/xetexdir/XeTeXOTMath.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/xetexdir/XeTeXOTMath.h b/Build/source/texk/web2c/xetexdir/XeTeXOTMath.h index ba2cc873041..1b8362bb0ea 100644 --- a/Build/source/texk/web2c/xetexdir/XeTeXOTMath.h +++ b/Build/source/texk/web2c/xetexdir/XeTeXOTMath.h @@ -34,7 +34,11 @@ authorization from the copyright holders. #define __XETEX_OT_MATH__ #include "XeTeX_ext.h" -#include "MathTable.h" + +typedef struct { + unsigned int count; + hb_ot_math_glyph_part_t* parts; +} GlyphAssembly; /* public "C" APIs for calling from Web(-to-C) code */ #ifdef __cplusplus @@ -45,6 +49,7 @@ extern "C" { int get_ot_math_constant(int f, int n); int get_ot_math_variant(int f, int g, int v, integer* adv, int horiz); void* get_ot_assembly_ptr(int f, int g, int horiz); + void free_ot_assembly(GlyphAssembly* a); int get_ot_math_ital_corr(int f, int g); int get_ot_math_accent_pos(int f, int g); int get_ot_math_kern(int f, int g, int sf, int sg, int cmd, int shift); |