[mod.computers.apollo] gpr_$text

Mark_Giuffrida@UMich-MTS.MAILNET (05/31/86)

> I'm using gpr_$text to draw characters on the screen.
> Suppose I have the text background color set to white, and
> the text drawing color set to black, and imagine drawing text
> onto a solid black screen.  Rather than getting a contiguous
> white box with the characters in it, I get a bunch of
> discontiguous white boxes with black gaps between them --
> which is not what I want.
>
> Question:  is this a bug or a "feature"?  I expect I could
> fix it by hacking the bounding boxes of the characters, but
> the standard system fonts all behave this way.  Is there
> something else I can do (adjusting the character width, or
> something?)  Otherwise I am forced to clear the entire text
> box before drawing in it, which is time-consuming and
> visually unpleasing.

-------------------------------
You will have to create your own font and select the spacing between
between them to be zero (use the "SPACING" option in EDFONT).  Or, you
could make copies of the system font you want to use and change the
spacing in there. The problem with this is that your characters might
seem to run together when displayed.  I don't believe there is
any other reasonable solution other than clearing the text box first.
                              --Mark Giuffrida (U of Mich)
                              markg%umich-mts@mit-multics.arpa