forked from enlightenment/terminology
colors: do not use bold/bright and faint/dim at the same time
In that case: use the bold font weight if available and the faint color
This commit is contained in:
parent
7d4bd31e9d
commit
6ff8b36a23
|
@ -2659,9 +2659,9 @@ termio_internal_render(Termio *sd,
|
|||
fg += 48;
|
||||
if ((cells[x].att.bgintense) && (!bgext))
|
||||
bg += 48;
|
||||
if ((cells[x].att.bold) && (!fgext))
|
||||
if ((cells[x].att.bold && !cells[x].att.faint) && (!fgext))
|
||||
fg += 12;
|
||||
if ((cells[x].att.faint) && (!fgext))
|
||||
else if ((cells[x].att.faint) && (!fgext))
|
||||
fg += 24;
|
||||
if (cells[x].att.inverse ^ inv)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue