Skip to content

Commit

Permalink
Added(terminal): Add true italic font support
Browse files Browse the repository at this point in the history
  • Loading branch information
Sodastream11 committed Sep 27, 2024
1 parent 9ae072a commit 50e72d9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ private void drawTextRun(Canvas canvas, char[] text, int[] palette, float y, int
mTextPaint.setColor(foreColor);

// The text alignment is the default Paint.Align.LEFT.
canvas.drawTextRun(text, startCharIndex, runWidthChars, startCharIndex, runWidthChars, left, y - mFontLineSpacingAndAscent, false, mTextPaint);
canvas.drawTextRun(text, startCharIndex, runWidthChars, startCharIndex, runWidthChars, left, y - fontLineSpacingAndAscent, false, mTextPaint);
}

if (savedMatrix) canvas.restore();
Expand Down

0 comments on commit 50e72d9

Please sign in to comment.