Re: A82: Font help
[Prev][Next][Index][Thread]
Re: A82: Font help
On Sun, 26 Apr 1998 17:01:24 EDT kouri@juno.com (Kouri Rosenberg) writes:
> I need to change some of the normal calculator menu font, so how
>should I go about implementing this? I've only changed 7 characters
>(all letters are uppercase, 3 pixels wide and 5 pixels tall). Is there
>a way to just alter individual letters, without re-doing the entire
>alphabet? Like test if the letter is one of the 7, and then draw that
>letter, otherwise print normal font? If you know a better way of doing
>this, please help me out.
>Thanx
you could do Length-Indexed Strings, which'd display the # of chars that
you want, then you could use your own charput routine to display the 1 of
7 chars, and continue on your merry way, but that's annoying to program
for after a while.
if it's pre-defined strings, you can use that method, OR if it's
user-defined (string input from the user) then you can do a string
search, copy the original string to a seperate (backup) location, blank
out the "special" character areas with $20 (space) and then after
displaying the string, add your special ones in (by looking at the backup
string).
a bit tough to do, but changing the whole font would probably be easier
in the long run.
-Greg
_____________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
Or call Juno at (800) 654-JUNO [654-5866]
References: