Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!pyramid!nsc!misha From: misha@nsc.nsc.com (Michael Umansky) Newsgroups: comp.graphics Subject: Smooth Scaling of Bitmap Fonts and other Graphics Inquiries Message-ID: <4721@nsc.nsc.com> Date: Fri, 23-Oct-87 21:08:50 EST Article-I.D.: nsc.4721 Posted: Fri Oct 23 21:08:50 1987 Date-Received: Sun, 25-Oct-87 19:18:45 EST Organization: National Semiconductor, Sunnyvale Lines: 39 Hi. I have several bitmapped fonts in small sizes, mostly a 7 by 9 character in a 9 by 12 box. When I scale this font UP via bit replication in X and/or Y direction I get very ugly characters the bigger they get. Is there a way to dynamically scale up a bitmapped character with smoothing of all rough corners? I have got the Hershey fonts but they are vector fonts and I don't have the hershey.doc that was supposed to have come with the distribution. Can anyone mail it to me? Thanks. Also. If I have a color pallette of 256 entries, is there a standard/good order in which different colors can be assigned to each entry. This especially applies to mandelbrot type images, I need to know which colors need to be assigned to which entry. (A pixel in the graphics bitmap is an index into color pallette table). I would also like to take an image generated by posted 'tracer' program and dither its 8 bit per pixel output to 4 bit per pixel output and again I need to know which colors to assign to which of 16 entries. Any help on above is appreciated. Thank you. -- NAME: Michael Umansky (misha) E-MAIL: sun! ----\ hplabs! --\ pyramid! --+----> nsc!misha decwrl! --/ amdahl! -/ WORK: National Semiconductor Corporation 1135 Kern Avenue, Mail Stop - 7C266 Sunnyvale, CA 94086 (408) 721-8109 (work) HOME: 4331 Lincoln Way San Francisco, CA 94122 (415) 564-3921 (home)