diff options
Diffstat (limited to 'source/luametatex/source/tex/texmlist.h')
-rw-r--r-- | source/luametatex/source/tex/texmlist.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/source/luametatex/source/tex/texmlist.h b/source/luametatex/source/tex/texmlist.h new file mode 100644 index 000000000..1cb2a6cc7 --- /dev/null +++ b/source/luametatex/source/tex/texmlist.h @@ -0,0 +1,30 @@ +/* + See license.txt in the root of this project. +*/ + +# ifndef LMT_MLIST_H +# define LMT_MLIST_H + +typedef struct kernset { + scaled topright; + scaled bottomright; + scaled topleft; + scaled bottomleft; + scaled height; + scaled depth; + scaled toptotal; + scaled bottomtotal; +} kernset; + +extern void tex_run_mlist_to_hlist (halfword p, halfword penalties, halfword style, int beginclass, int endclass); +extern halfword tex_mlist_to_hlist (halfword, int penalties, int mainstyle, int beginclass, int endclass, kernset *kerns); +extern halfword tex_make_extensible (halfword fnt, halfword chr, scaled target, scaled min_overlap, int horizontal, halfword att, halfword size); +extern halfword tex_new_math_glyph (halfword fnt, halfword chr); +extern halfword tex_math_spacing_glue (halfword ltype, halfword rtype, halfword style); + +extern halfword tex_math_font_char_ht (halfword fnt, halfword chr, halfword style); +extern halfword tex_math_font_char_dp (halfword fnt, halfword chr, halfword style); + +extern void tex_set_math_text_font (halfword style, int usefamfont); + +# endif |