summaryrefslogtreecommitdiff
path: root/src/gmdocument.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-04-04 15:32:44 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-04-04 15:32:44 +0300
commit80af41e43644f17b3d52e1d3c2b4d141298fdd05 (patch)
treec7a33cb6c40a27cd4f265bfc1f6cfe9c4a316166 /src/gmdocument.c
parent3e22cb42d56aec3075c3ee77f5ff4fca2ab41813 (diff)
GmDocument: Broken bullet in Literata
Diffstat (limited to 'src/gmdocument.c')
-rw-r--r--src/gmdocument.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gmdocument.c b/src/gmdocument.c
index c086898f..184951d3 100644
--- a/src/gmdocument.c
+++ b/src/gmdocument.c
@@ -580,6 +580,10 @@ static void doLayout_GmDocument_(iGmDocument *d) {
580 if (type == bullet_GmLineType) { 580 if (type == bullet_GmLineType) {
581 /* TODO: Literata bullet is broken? */ 581 /* TODO: Literata bullet is broken? */
582 iGmRun bulRun = run; 582 iGmRun bulRun = run;
583 if (prefs->font == literata_TextFont) {
584 /* Something wrong this the glyph in Literata, looks cropped. */
585 bulRun.font = defaultContentSized_FontId;
586 }
583 bulRun.color = tmQuote_ColorId; 587 bulRun.color = tmQuote_ColorId;
584 bulRun.visBounds.pos = addX_I2(pos, (indents[text_GmLineType] - 0.55f) * gap_Text); 588 bulRun.visBounds.pos = addX_I2(pos, (indents[text_GmLineType] - 0.55f) * gap_Text);
585 bulRun.visBounds.size = 589 bulRun.visBounds.size =