diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gmdocument.h | 3 | ||||
-rw-r--r-- | src/ui/text.c | 1 | ||||
-rw-r--r-- | src/ui/text.h | 3 |
3 files changed, 6 insertions, 1 deletions
diff --git a/src/gmdocument.h b/src/gmdocument.h index 215dcdb5..e280bef8 100644 --- a/src/gmdocument.h +++ b/src/gmdocument.h | |||
@@ -23,7 +23,7 @@ enum iGmLinkFlags { | |||
23 | userFriendly_GmLinkFlag = iBit(10), | 23 | userFriendly_GmLinkFlag = iBit(10), |
24 | imageFileExtension_GmLinkFlag = iBit(11), | 24 | imageFileExtension_GmLinkFlag = iBit(11), |
25 | audioFileExtension_GmLinkFlag = iBit(12), | 25 | audioFileExtension_GmLinkFlag = iBit(12), |
26 | content_GmLinkFlag = iBit(13), /* content visible below */ | 26 | content_GmLinkFlag = iBit(13), /* content visible below */ |
27 | visited_GmLinkFlag = iBit(14), /* in the history */ | 27 | visited_GmLinkFlag = iBit(14), /* in the history */ |
28 | }; | 28 | }; |
29 | 29 | ||
@@ -38,6 +38,7 @@ struct Impl_GmImageInfo { | |||
38 | enum iGmRunFlags { | 38 | enum iGmRunFlags { |
39 | startOfLine_GmRunFlag = iBit(1), | 39 | startOfLine_GmRunFlag = iBit(1), |
40 | endOfLine_GmRunFlag = iBit(2), | 40 | endOfLine_GmRunFlag = iBit(2), |
41 | siteBanner_GmRunlag = iBit(3), /* area reserved for the site banner */ | ||
41 | }; | 42 | }; |
42 | 43 | ||
43 | struct Impl_GmRun { | 44 | struct Impl_GmRun { |
diff --git a/src/ui/text.c b/src/ui/text.c index ca3f5fba..0c4b8624 100644 --- a/src/ui/text.c +++ b/src/ui/text.c | |||
@@ -130,6 +130,7 @@ static void initFonts_Text_(iText *d) { | |||
130 | { &fontFiraSansBold_Embedded, textSize * 1.333f, mediumSymbols_FontId }, | 130 | { &fontFiraSansBold_Embedded, textSize * 1.333f, mediumSymbols_FontId }, |
131 | { &fontFiraSansBold_Embedded, textSize * 1.666f, largeSymbols_FontId }, | 131 | { &fontFiraSansBold_Embedded, textSize * 1.666f, largeSymbols_FontId }, |
132 | { &fontFiraSansBold_Embedded, textSize * 2.000f, hugeSymbols_FontId }, | 132 | { &fontFiraSansBold_Embedded, textSize * 2.000f, hugeSymbols_FontId }, |
133 | { &fontFiraSansLight_Embedded, textSize * 1.666f, largeSymbols_FontId }, | ||
133 | { &fontSymbola_Embedded, fontSize_UI, defaultSymbols_FontId }, | 134 | { &fontSymbola_Embedded, fontSize_UI, defaultSymbols_FontId }, |
134 | { &fontSymbola_Embedded, textSize, symbols_FontId }, | 135 | { &fontSymbola_Embedded, textSize, symbols_FontId }, |
135 | { &fontSymbola_Embedded, textSize * 1.333f, mediumSymbols_FontId }, | 136 | { &fontSymbola_Embedded, textSize * 1.333f, mediumSymbols_FontId }, |
diff --git a/src/ui/text.h b/src/ui/text.h index ea58abb6..2068d51b 100644 --- a/src/ui/text.h +++ b/src/ui/text.h | |||
@@ -17,6 +17,8 @@ enum iFontId { | |||
17 | mediumBold_FontId, | 17 | mediumBold_FontId, |
18 | largeBold_FontId, | 18 | largeBold_FontId, |
19 | hugeBold_FontId, | 19 | hugeBold_FontId, |
20 | largeLight_FontId, | ||
21 | /* symbol fonts */ | ||
20 | defaultSymbols_FontId, | 22 | defaultSymbols_FontId, |
21 | symbols_FontId, | 23 | symbols_FontId, |
22 | mediumSymbols_FontId, | 24 | mediumSymbols_FontId, |
@@ -45,6 +47,7 @@ enum iFontId { | |||
45 | header1_FontId = hugeBold_FontId, | 47 | header1_FontId = hugeBold_FontId, |
46 | header2_FontId = largeBold_FontId, | 48 | header2_FontId = largeBold_FontId, |
47 | header3_FontId = medium_FontId, | 49 | header3_FontId = medium_FontId, |
50 | banner_FontId = largeLight_FontId, | ||
48 | }; | 51 | }; |
49 | 52 | ||
50 | extern int gap_Text; /* affected by content font size */ | 53 | extern int gap_Text; /* affected by content font size */ |