re: A83: this one is for pat...


[Prev][Next][Index][Thread]

re: A83: this one is for pat...




Sfont_len takes HL as the offset into the font table to the char that
you want the length of. Each font 'structure' is 8 bytes, so multiply the
char number by 8 and set hl = to that value. Sorry about the documentation.

Later,
Pat

------------------
Original text

From: Ian Graf <ian_graf@geocities.com>, on 9/27/98 8:01 PM:

pat, i couldn't get this routine to work! i tried every input i could
think of. i want to be able to find the width of variable width font
character. that's what this does, right?

;--------------------------------------------------------
;  _sfont_len : return the length of varible width
;               display char
;
;           input : hl = char value
;           output : b = width of char
;                    hl + 1 = 1st byte of char font
;-----------------------------------------------------------


References: