Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1186 | savelij | 1 | #ifndef _TEXFONTS_H |
2 | #define _TEXFONTS_H |
||
3 | /* texfonts.h */ |
||
4 | /*****************************************************************************/ |
||
5 | /* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only */ |
||
6 | /* */ |
||
7 | /* AS */ |
||
8 | /* */ |
||
9 | /* TeX-->ASCII/HTML Converter: Font Stuff */ |
||
10 | /* */ |
||
11 | /*****************************************************************************/ |
||
12 | |||
13 | #define MFontEmphasized (1 << FontEmphasized) |
||
14 | #define MFontBold (1 << FontBold) |
||
15 | #define MFontTeletype (1 << FontTeletype) |
||
16 | #define MFontItalic (1 << FontItalic) |
||
17 | |||
18 | /*--------------------------------------------------------------------------*/ |
||
19 | |||
20 | typedef enum |
||
21 | { |
||
22 | FontTiny, FontSmall, FontNormalSize, FontLarge, FontHuge |
||
23 | } tFontSize; |
||
24 | |||
25 | typedef enum |
||
26 | { |
||
27 | FontStandard, FontEmphasized, FontBold, FontTeletype, FontItalic, FontSuper, FontCnt |
||
28 | } tFontType; |
||
29 | |||
30 | /*--------------------------------------------------------------------------*/ |
||
31 | |||
32 | extern int CurrFontFlags; |
||
33 | extern tFontSize CurrFontSize; |
||
34 | extern tFontType CurrFontType; |
||
35 | |||
36 | /*--------------------------------------------------------------------------*/ |
||
37 | |||
38 | extern void InitFont(void); |
||
39 | |||
40 | extern void SaveFont(void); |
||
41 | |||
42 | extern void RestoreFont(void); |
||
43 | |||
44 | extern void FreeFontStack(void); |
||
45 | |||
46 | #endif /* _TEXFONTS_H */ |