Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!pasteur!ucbvax!c3po.UUCP!glc From: glc@c3po.UUCP (Greg Cockroft) Newsgroups: comp.windows.news Subject: Re: bug in NeWS 1.1 or RTFM ? Message-ID: <8804041727.AA12969@c3po.frame.com> Date: 4 Apr 88 23:16:04 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 38 >Anyone tried this or something like this in NeWS ? > > >/Times-Roman findfont >150 scalefont setfont % scale is not standard available, but I don't know if > % that has anything got to do with it >100 100 moveto % just for convenience >(A) show % gives you a 72 points "A" >1 rotate % you could also do "-1 -1 scale" but not "2 2 scale" >(A) show % gives you the 150 points "A" you actually wanted >Am I just an inexperienced NeWs-clown or is something really wrong here ? This is not a bug, but an implementation limit. NeWS always tries to use a bitmap font. There is no 150 point Times-Roman in the font directory. If you do the following. /Times-Roman findfont 150 scalefont setfont 100 100 moveto (AAAA) show You will notice that the spacing between characters is for a 150 point version, although something around 72 points is displayed. When you did the 1 rotate you faked out the font machinery inside of NeWS. It looked at the Current Transformation Matrix and decided that you were not doing a simple scale operation. It therefore computed the glyph for (A) on the fly. Notice how poor the second glyph looks. If you want big glyphs do something like .001 rotate, or add some big bitmap fonts into your font directory. If you look closely at the "Text (scaled)" demo you will notice that the same bitmap font gets used about 3 times in a row. -greg.