Reserve one pixel less between characters for bold text.

[GB.FORM.TERMINAL]
* BUG: Reserve one pixel less between characters for bold text.
This commit is contained in:
gambas 2020-02-29 20:05:16 +01:00
parent a703c7f2ea
commit b865fa737f
2 changed files with 2 additions and 2 deletions

View File

@ -303,7 +303,7 @@ Private Sub UpdateFont()
sText = String$(8, "mM0_@$#W") sText = String$(8, "mM0_@$#W")
$CW = CInt(.TextWidth(sText) / Len(sText) + 0.5) $CW = CInt(.TextWidth(sText) / Len(sText) + 0.5)
W = $CW \ 8 + 1 W = $CW \ 8
$CW += W \ 2 $CW += W \ 2
$hCacheFont = New Image($CW * 416, $LH * 2, Color.Transparent) $hCacheFont = New Image($CW * 416, $LH * 2, Color.Transparent)

View File

@ -8,7 +8,7 @@
Margin = True Margin = True
{ TerminalView1 TerminalView { TerminalView1 TerminalView
MoveScaled(3,3,62,37) MoveScaled(3,3,62,37)
Font = Font["Gambas,10"] Font = Font["Gambas,11"]
Expand = True Expand = True
Limit = 0 Limit = 0
Blink = True Blink = True