forked from KolibriOS/kolibrios
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:
parent
e66db56977
commit
87d89cab90
@ -122,9 +122,9 @@ drawletter2:
|
|||||||
;result - eax=eax+sym_size
|
;result - eax=eax+sym_size
|
||||||
pushad
|
pushad
|
||||||
call [disable_mouse]
|
call [disable_mouse]
|
||||||
|
shl edx,1
|
||||||
mov esi,9
|
mov esi,9
|
||||||
lea ebp,[0x3EC00+8*edx+edx]
|
lea ebp,[0x3EC00+4*edx+edx+1]
|
||||||
push dword -1 ;size
|
|
||||||
.symloop:
|
.symloop:
|
||||||
push esi
|
push esi
|
||||||
mov dl,byte [ebp]
|
mov dl,byte [ebp]
|
||||||
@ -132,10 +132,6 @@ drawletter2:
|
|||||||
.pixloop:
|
.pixloop:
|
||||||
test dl,1
|
test dl,1
|
||||||
jz .nopix
|
jz .nopix
|
||||||
cmp [esp+4],esi
|
|
||||||
jge .no_inc
|
|
||||||
mov [esp+4],esi
|
|
||||||
.no_inc:
|
|
||||||
call [putpixel]
|
call [putpixel]
|
||||||
.nopix:
|
.nopix:
|
||||||
shr dl,1
|
shr dl,1
|
||||||
@ -149,12 +145,7 @@ drawletter2:
|
|||||||
inc ebp
|
inc ebp
|
||||||
dec esi
|
dec esi
|
||||||
jnz .symloop
|
jnz .symloop
|
||||||
pop edx
|
movzx edx,byte [ebp-10]
|
||||||
test edx,edx
|
|
||||||
jge .nospace
|
|
||||||
mov edx,4
|
|
||||||
.nospace:
|
|
||||||
add edx,2
|
|
||||||
add [esp+32-4],edx
|
add [esp+32-4],edx
|
||||||
popad
|
popad
|
||||||
ret
|
ret
|
Loading…
Reference in New Issue
Block a user