Tue May 30 08:49:43 PDT 2000 Michael Jennings <mej@eterm.org>
Fix to multibyte screen rendering from Sung-Hyun Nam <namsh@lgic.co.kr>. SVN revision: 2730
This commit is contained in:
parent
47d87f02b0
commit
cf3f7ca572
|
@ -3601,6 +3601,8 @@ Fri May 26 20:43:03 PDT 2000 Michael Jennings <mej@eterm.org>
|
|||
"bottom_right." If you omit a corner name, the first one defaults to
|
||||
top-left, the second to top-right, and so on as listed above.
|
||||
|
||||
For no font effects at all, simply specify "none".
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Sun May 28 14:45:03 PDT 2000 Michael Jennings <mej@eterm.org>
|
||||
|
||||
|
@ -3617,3 +3619,9 @@ Sun May 28 14:45:03 PDT 2000 Michael Jennings <mej@eterm.org>
|
|||
shouldn't actually change any functionality.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Tue May 30 08:49:43 PDT 2000 Michael Jennings <mej@eterm.org>
|
||||
|
||||
Fix to multibyte screen rendering from Sung-Hyun Nam
|
||||
<namsh@lgic.co.kr>.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
|
|
@ -1937,7 +1937,7 @@ scr_refresh(int type)
|
|||
yy = ypixel - TermWin.font->ascent;
|
||||
ww = Width2Pixel(wlen);
|
||||
hh = Height2Pixel(1);
|
||||
CLEAR_CHARS(xpixel, ypixel - TermWin.font->ascent, wlen);
|
||||
CLEAR_CHARS(xpixel, ypixel - TermWin.font->ascent, len);
|
||||
if (fshadow.shadow[SHADOW_TOP_LEFT] || fshadow.shadow[SHADOW_TOP_RIGHT]) {
|
||||
yy--;
|
||||
hh++;
|
||||
|
@ -1984,7 +1984,7 @@ scr_refresh(int type)
|
|||
DRAW_STRING(draw_string, xpixel, ypixel, buffer, wlen);
|
||||
UPDATE_BOX(xx, yy, xx + ww, yy + hh);
|
||||
} else {
|
||||
CLEAR_CHARS(xpixel, ypixel - TermWin.font->ascent, wlen);
|
||||
CLEAR_CHARS(xpixel, ypixel - TermWin.font->ascent, len);
|
||||
DRAW_STRING(draw_string, xpixel, ypixel, buffer, wlen);
|
||||
UPDATE_BOX(xpixel, ypixel - TermWin.font->ascent, xpixel + Width2Pixel(wlen), ypixel + Height2Pixel(1));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue