Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 UW 5/3/83; site uw-beaver Path: utzoo!watmath!clyde!bonnie!akgua!whuxlm!whuxl!houxm!vax135!cornell!uw-beaver!laser-lovers From: laser-lovers@uw-beaver (laser-lovers) Newsgroups: fa.laser-lovers Subject: Re: Sun -> Imagen Message-ID: <2402@uw-beaver> Date: Sun, 2-Dec-84 17:03:39 EST Article-I.D.: uw-beave.2402 Posted: Sun Dec 2 17:03:39 1984 Date-Received: Tue, 4-Dec-84 06:35:02 EST Sender: daemon@uw-beave Organization: U of Washington Computer Science Lines: 21 From: Christopher SchmidtI wrote an Interlisp program to dump bitmaps to the 8/300, but, to get around the magnification problem, I used an alphabet of 16 glyphs each of which depicts a four-pixel portion of the screen magnified by some amount. First I download that font, PUSH, SET-BOL to the left edge of the desired location, SET-IL to N, where N is the pixel magnification of the font, output the bitmap nybblewise, one scan line at a time separated by CRLF operators, and terminated with a POP. This has the advantages (1) I can place a bitmap at an arbitrary place on the page--not just at multiples of 32 pixels, (2) I can put bitmaps of different magnifications on the same page, and (3) I can generate a font for any magnification--not just 1, 2, and 4. The disadvantage is that I waste 2 bytes of impress file (and 8/300 memory) for each byte of bitmap. I haven't found this a problem, though. I could always make a font of 128 glyphs and dump the bitmap 7 bits at a time, but I decided that the computation on the part of the generator was more costly than the disk space and transfer time. I'll be distributing a Harmony version of this package for Interlisp-D 1-2 months after the Harmony release. --Christopher -------