-
Notifications
You must be signed in to change notification settings - Fork 0
/
fonts.h
97 lines (83 loc) · 2.73 KB
/
fonts.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
#define F_FAMILY_ROMAN 1
#define F_FAMILY_ROMAN_1 2
#define F_FAMILY_ROMAN_2 3
#define F_FAMILY_ROMAN_3 4
#define F_FAMILY_ROMAN_4 17
#define F_FAMILY_SANSSERIF 5
#define F_FAMILY_SANSSERIF_1 6
#define F_FAMILY_SANSSERIF_2 7
#define F_FAMILY_SANSSERIF_3 8
#define F_FAMILY_SANSSERIF_4 18
#define F_FAMILY_TYPEWRITER 9
#define F_FAMILY_TYPEWRITER_1 10
#define F_FAMILY_TYPEWRITER_2 11
#define F_FAMILY_TYPEWRITER_3 12
#define F_FAMILY_TYPEWRITER_4 19
#define F_FAMILY_CALLIGRAPHIC 13
#define F_FAMILY_CALLIGRAPHIC_1 14
#define F_FAMILY_CALLIGRAPHIC_2 15
#define F_FAMILY_CALLIGRAPHIC_3 16
#define F_SHAPE_SLANTED 1
#define F_SHAPE_SLANTED_1 2
#define F_SHAPE_SLANTED_2 3
#define F_SHAPE_SLANTED_3 4
#define F_SHAPE_SLANTED_4 17
#define F_SHAPE_ITALIC 5
#define F_SHAPE_ITALIC_1 6
#define F_SHAPE_ITALIC_2 7
#define F_SHAPE_ITALIC_3 8
#define F_SHAPE_ITALIC_4 18
#define F_SHAPE_CAPS 9
#define F_SHAPE_CAPS_1 10
#define F_SHAPE_CAPS_2 11
#define F_SHAPE_CAPS_3 12
#define F_SHAPE_CAPS_4 19
#define F_SHAPE_UPRIGHT 13
#define F_SHAPE_UPRIGHT_1 14
#define F_SHAPE_UPRIGHT_2 15
#define F_SHAPE_UPRIGHT_3 16
#define F_SHAPE_MATH_UPRIGHT 17
#define F_SHAPE_STRIKEOUT 20
#define F_SERIES_MEDIUM 1
#define F_SERIES_MEDIUM_1 2
#define F_SERIES_MEDIUM_2 3
#define F_SERIES_MEDIUM_3 4
#define F_SERIES_BOLD 5
#define F_SERIES_BOLD_1 6
#define F_SERIES_BOLD_2 7
#define F_SERIES_BOLD_3 8
#define F_SERIES_BOLD_4 9
#define F_TEXT_NORMAL 1
#define F_TEXT_NORMAL_1 2
#define F_TEXT_NORMAL_2 3
#define F_TEXT_NORMAL_3 4
#define F_EMPHASIZE_1 2
#define F_EMPHASIZE_2 3
#define F_EMPHASIZE_3 4
#define F_SMALLER -1
#define F_LARGER -2
void InitializeDocumentFont(int family, int size, int shape, int series, int encoding);
void CmdFontFamily(int code);
int CurrentFontFamily(void);
int DefaultFontFamily(void);
void CmdFontShape(int code);
int CurrentFontShape(void);
int DefaultFontShape(void);
void CmdFontSeries(int code);
int CurrentFontSeries(void);
int DefaultFontSeries(void);
void CmdFontSize(int code);
int CurrentFontSize(void);
int DefaultFontSize(void);
void CmdFontSizeEnviron(int code);
void CmdFontEncoding(int code);
int CurrentFontEncoding(void);
int DefaultFontEncoding(void);
void CmdEmphasize(int code);
void CmdUnderline(int code);
void CmdTextNormal(int code);
int TexFontNumber(const char *Fname);
int RtfFontNumber(const char *Fname);
void PushFontSettings(void);
void PopFontSettings(void);
void MonitorFontChanges(const unsigned char *text);