Path: utzoo!utgpu!news-server.csri.toronto.edu!qucdn!smithm Organization: Queen's University at Kingston Date: Monday, 26 Nov 1990 11:19:37 EST From: Message-ID: <90330.111937SMITHM@QUCDN.QueensU.CA> Newsgroups: comp.lang.postscript Subject: Re: UniqueId in Font Dictionaries: Why? pgd@bbt.se writes: > If you have two fonts with the same UniqueID, let's call them Font1 > and Font2, they will be mixed up if both used. > Let's say you first use Font1, character "A". After that you switch to > Font2. If you then want character "A" from Font2, you will actually > get the "A" from Font1 instead. You will get the character from > whatever font that character was used first. This sounded a little scary so I tried the following test. I created an outline version of Helvetica that duplicated Helvetica's UniqueID. I then printed a line of text first in Helvetica Outline and then in Helvetica. There was no mixup in the fonts. (I power cycled the LaserWriter II NTX before my test to clear the font cache.) This test is simple minded but I'm tempted to conclude that I can duplicate the UniqueID field with impunity. At least, this appears to be the case if the two fonts differ only in PaintType. Mike Smith SMITHM@QUCDN.BITNET Queen's University Michael.D.Smith@QueensU.CA Computing and Communications Services (613) 545-2024