Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!RIGEL.FAC.CS.CMU.EDU!moore From: moore@RIGEL.FAC.CS.CMU.EDU (Dale Moore) Newsgroups: comp.lang.postscript Subject: Re: What can you do to font dictionaries? Message-ID: <7679@pt.cs.cmu.edu> Date: 23 Jan 90 14:09:29 GMT References: <1990Jan23.013927.3977@intercon.com> Organization: Carnegie-Mellon University, CS/RI Lines: 30 Amanda Walker (from the Amanda and Woody show) says ... Since the font cache works on FID/character name pairs, it doesn't strike me that doing this would confuse the font cache. ... That was also my first impression of how the font cache worked. But consider the following tidbit of PostScript... /Times-Roman findfont 10 scalefont setfont 100 100 moveto (first line printed) show 100 80 moveto 2 2 scale (second line printed) show Both the first line printed and second line printed are printed in the same font. That is the font used in both lines has the same FID. But the bitmaps of the characters used in those two lines are very different. The bitmaps of the characters used in the second line will be twice as high and twice as wide as those in the first line. So even though the characters are the same, and the FID is the same, the resulting bitmap depends also upon the current transformation matrix. I suspect that any font cache mechanism would also figure in somehow a mechanism to deal with the current transformation matrix. Dale Moore