diff --git a/src/gfx.cpp b/src/gfx.cpp index d97e343b23..f6c3ceb51a 100644 --- a/src/gfx.cpp +++ b/src/gfx.cpp @@ -590,7 +590,7 @@ static int DrawLayoutLine(const ParagraphLayouter::Line &line, int y, int left, FontCache *fc = f->fc; TextColour colour = f->colour; - if (colour == TC_INVALID) colour = default_colour; + if (colour == TC_INVALID || HasFlag(default_colour, TC_FORCED)) colour = default_colour; colour_has_shadow = (colour & TC_NO_SHADE) == 0 && colour != TC_BLACK; SetColourRemap(do_shadow ? TC_BLACK : colour); // the last run also sets the colour for the truncation dots if (do_shadow && (!fc->GetDrawGlyphShadow() || !colour_has_shadow)) continue;