Article View: mod.computers.apollo
Article #166gpr_$text
From: Mark_Giuffrida
Date: Sat, 31 May 1986 16:35
Date: Sat, 31 May 1986 16:35
25 lines
1978 bytes
1978 bytes
> 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
Technical Details
Message-ID:
<1322326@UMich-MTS.Mailnet>Path:
arc1-ca.pugleaf.net!utzoo!decvax!ittatc!dcdwest!sdcsvax!ucbvax!UMich-MTS.MAILNET!Mark_GiuffridaShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site ucbvax.BERKELEY.EDU Path: arc1-ca.pugleaf.net!utzoo!decvax!ittatc!dcdwest!sdcsvax!ucbvax!UMich-MTS.MAILNET!Mark_Giuffrida From: Mark_Giuffrida@UMich-MTS.MAILNET Newsgroups: mod.computers.apollo Subject: gpr_$text Message-ID: <1322326@UMich-MTS.Mailnet> Date: Sat, 31-May-86 12:35:54 EDT Article-I.D.: UMich-MT.1322326 Posted: Sat May 31 12:35:54 1986 Date-Received: Sun, 1-Jun-86 05:34:48 EDT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 25 Approved: apollo@yale-comix.arpa