Fixed displaying of second font. New fonts are required.

You can download them at http://shade.msu.ru/~msu-se/temp/char.7z

git-svn-id: svn://kolibrios.org@24 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Andrey Halyavin (halyavin) 2005-11-16 09:35:22 +00:00
parent e66db56977
commit 87d89cab90
1 changed files with 3 additions and 12 deletions

View File

@ -122,9 +122,9 @@ drawletter2:
;result - eax=eax+sym_size
pushad
call [disable_mouse]
shl edx,1
mov esi,9
lea ebp,[0x3EC00+8*edx+edx]
push dword -1 ;size
lea ebp,[0x3EC00+4*edx+edx+1]
.symloop:
push esi
mov dl,byte [ebp]
@ -132,10 +132,6 @@ drawletter2:
.pixloop:
test dl,1
jz .nopix
cmp [esp+4],esi
jge .no_inc
mov [esp+4],esi
.no_inc:
call [putpixel]
.nopix:
shr dl,1
@ -149,12 +145,7 @@ drawletter2:
inc ebp
dec esi
jnz .symloop
pop edx
test edx,edx
jge .nospace
mov edx,4
.nospace:
add edx,2
movzx edx,byte [ebp-10]
add [esp+32-4],edx
popad
ret