Skip to content

Commit

Permalink
Make text sharper on low resolution screens
Browse files Browse the repository at this point in the history
  • Loading branch information
dontpanic92 committed Jan 3, 2020
1 parent 9ea9103 commit f7b1e95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dotnvim/Controls/NeovimControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ protected override void Draw()
})
{
var origin = new RawVector2(this.textParam.CharWidth * cellIndex, this.textParam.LineHeight * (i + 0.8f));
this.DeviceContext.DrawGlyphRun(origin, glyphrun, foregroundBrush, D2D.MeasuringMode.Natural);
this.DeviceContext.DrawGlyphRun(origin, glyphrun, foregroundBrush, D2D.MeasuringMode.GdiNatural);
glyphrun.FontFace = null;
}

Expand Down

0 comments on commit f7b1e95

Please sign in to comment.