texmlist.h /size: 1356 b    last modification: 2024-01-16 10:22
1/*
2    See license.txt in the root of this project.
3*/
4
5# ifndef LMT_MLIST_H
6# define LMT_MLIST_H
7
8typedef struct kernset {
9    scaled   topright;
10    scaled   bottomright;
11    scaled   topleft;
12    scaled   bottomleft;
13    scaled   height;
14    scaled   depth;
15    scaled   toptotal;
16    scaled   bottomtotal;
17    halfword dimensions;
18    halfword font;
19    halfword character; 
20    halfword padding;
21} kernset; 
22
23extern void     tex_run_mlist_to_hlist (halfword p, halfword penalties, halfword style, int beginclass, int endclass);
24extern halfword tex_mlist_to_hlist     (halfword, int penalties, int mainstyle, int beginclass, int endclass, kernset *kerns);
25extern halfword tex_make_extensible    (halfword fnt, halfword chr, scaled target, scaled min_overlap, int horizontal, halfword att, halfword size);
26extern halfword tex_new_math_glyph     (halfword fnt, halfword chr);
27extern halfword tex_math_spacing_glue  (halfword ltype, halfword rtype, halfword style);
28
29extern halfword tex_math_font_char_ht  (halfword fnt, halfword chr, halfword style);
30extern halfword tex_math_font_char_dp  (halfword fnt, halfword chr, halfword style);
31
32extern void     tex_set_math_text_font (halfword style, int usefamfont);
33
34extern scaled   tex_math_parameter_x_scaled(int style, int param);
35extern scaled   tex_math_parameter_y_scaled(int style, int param);
36
37# endif
38