From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,e2f87a8a836a9eea X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,e2f87a8a836a9eea X-Google-Attributes: gid1164f8,public From: bruce@ais.com Subject: Re: Soft Font Editor for VT200/VT300 Date: 1995/05/05 Message-ID: <1995May5.193813.7644@ais.com>#1/1 X-Deja-AN: 102112697 references: <3o8i86$mad@amhux3.amherst.edu> organization: Applied Information Systems, Chapel Hill, NC newsgroups: comp.os.vms,comp.sys.dec In article <3o8i86$mad@amhux3.amherst.edu>, jwmanly@unix.amherst.edu (John W. Manly) writes: > Hi there. Does anyone know of a font editor for either VMS or UNIX which > can be used to create or modify soft fonts that might be loaded into a > VT200 or VT300 series terminal? I'm referring to the fonts used by the > DCS Pfn; Pcn; Pe; Pcmw; Pw; Pt; Pcmh; Pcss { font ST sequence, like the > APL character set used by VAX APL. > > The font characters have a fairly straightforward encoding, but doing it > by hand is extremely tedious, and I can only assume that somebody somewhere > has a tool to assist in this process. You can design fonts using something like PL/I bit strings, putting each raster line on a new line, using a normal text editor. This works better than you might think - you can get a reasonable idea of what the character will look like on the terminal. If you don't have PL/I, you can always write a simple macro in C that will do something very much like this, or failing that, a preprocessor that will take a file with 0's and 1's (or * and - or whatever you like for the foreground and background characters) and write out the appropriate initializations in Fortran or whatever other language you're using. If you're interested in a C macro to do this, I can probably dig one up that I wrote a while back. There may well be more sophisticated tools. But unless your needs are fairly heavy-duty, this is likely to be all you'll need. Bruce C. Wright