🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #3771

Re: UniqueId in Font Dictionaries: Why?

#3771
From: pgd
Date: Sun, 25 Nov 1990 15:37
16 lines
1318 bytes
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.
Technical Details
Message-ID: <1990Nov25.153719.3510@bbt.se>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!compuram!pgd
References: <90327.103524SMITHM@QUCDN.QueensU.CA>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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