Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!compuram!pgd From: pgd@bbt.se Newsgroups: comp.lang.postscript Subject: Re: UniqueId in Font Dictionaries: Why? Message-ID: <1990Nov25.153719.3510@bbt.se> Date: 25 Nov 90 15:37:19 GMT References: <90327.103524SMITHM@QUCDN.QueensU.CA> Organization: . Lines: 16 In article <90327.103524SMITHM@QUCDN.QueensU.CA> SMITHM@QUCDN.QueensU.CA writes: >What happens if I generate a UniqueID that isn't unique? UniqueID is for keeping track of the font cache. 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 in. Cycling power, will reset the font cache, unless you have a hard disk in the printer. If you have that, you have to run a special program to clear the font cache. Sometimes when you are making a new font, and constantly are making changes, you might have to change the UniqueID after each font change, to get the new font, instead of the old, cached, one.