Subject: Re: ass2

> 
> >You may not assume that all font descriptions
> >have the same size, e.g. 5x7 pixels. It should
> >be possible to mix & match characters of different
> >size (e.g. making capital 'I' 3x7, rather than
> >5x7).
> 
> So when adding two charecters together.... we have to add the spaces marked
> with a ","?
> .***.
> *...*
> *****
> *...*
> 
>   +
> 
> ***.
> *..*
> *..*
> ***.
> *..*
> *..*
> ***.
> 
>  =
> 
> .***.***.
> *...**..*
> ******..*
> *...****.
> ,,,,,*..*
> ,,,,,*..*
> ,,,,,***.
> 

OK, to simplify things a bit, let's assume
   *) that all the characters have the same
      height (i.e. "short characters" have
      been padded with blanks in the font
      description),
   *) not all characters have the same width.
      This allows proportional fonts (skinnier
      I's and J's).

/CC

___________________________________________________________________________
Christian Collberg      | Email: c_collberg@cs.auckland.ac.nz
Computer Science Dept   | Fax:   +64-9-373-7453
University of Auckland  | Phone: +64-9-373-7599 x 6137
Private Bag 92019,      | WWW:   http://www.cs.auckland.ac.nz/~collberg/
Auckland, NZ            |
___________________________________________________________________________
"Education is an admirable thing, but it is well to remember from time
to time that nothing that is worth knowing can be taught." - Oscar Wilde
___________________________________________________________________________