Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!hp4nl!phigate!prle!prles2!nvpna1!meijer From: meijer@nvpna1.prl.philips.nl (Otto Meijer) Newsgroups: comp.sys.atari.st Subject: fonts Keywords: fonts, program Message-ID: Date: 12 Jan 91 16:47:45 GMT Sender: news@prles2.prl.philips.nl Lines: 30 Hi, i am working at a program wat reads fonts and prints them in a different format (for an ebeam). I made something that almost works with the normal gdos fonts. But, i find an displacement in the offset table and in the bits. The algoritme that i use looks like this: kar = kar - first_ade /* First entry in the offset table */ off = *(off_base + kar) /* The real offset in bits from the beginning of the scanline */ p = base + off /* p points to the first byte in the scanline */ You only have to add an offset for the specific bit in the x and y direction, but that works. I only can't seem to find the start of the specified character. Does someone has a hint, or has an algoritme ? btw. are there copyrights on these fonts, they where distributed together with gemini. Thanks. ------------------------------------------------------------------------------ Otto Meijer Tel: (7)42667 WAGp 324 meijer::nvpnaa Nat.Lab. meijer@prle.prl.philips.nl Holland Nice hardware !!! ------------------------------------------------------------------------------