diff options
Diffstat (limited to 'src/gmdocument.c')
-rw-r--r-- | src/gmdocument.c | 4 |
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 = |