🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #5538

Query for expert: XUIDs and font directory copying

#5538
From: C.E. Thompson
Date: Wed, 01 May 1991 14:50
27 lines
1940 bytes
This is a query directed at suitable-expert@adobe.

The new PostScript LRM says (p.284) that `when you copy a font directory
for the purposes of creating a modified font, you should _not_ copy
UniqueID' (except in the case when only FontName, FontInfo, FontMatrix
and Encoding have been modified). It doesn't explicitly say the same
thing about XUID, but surely the same applies to this value?

Existing PostScript code will only omit UniqueID in such situations
(or alter UniqueID, which is sufficient in the case of Type 1 fonts, as
a mismatch with the UniqueID value in the Private directory effectively
causes it to be ignored: see p.17 of the Black-and-White book). However,
the new LRM says (p.285) that `PostScript interpreters that recognize
the XUID array ignore UniqueID whenever an XUID is present'. Doesn't
this create a serious compatibility problem? Using a new font (with
XUID as well as UniqueID) with a new interpreter, but old PostScript
code (correct when it was designed), the XUID will be left unaltered,
but it is the one thing that ought to have been changed.

Even if we all now start using code that omits XUID as well as UniqueID
(and such omissions can be done more conveniently in level 2, because
one can copy everything and then use 'undef'), this won't help with
existing applications.

Chris Thompson
JANET:    cet1@uk.ac.cam.phx
Internet: cet1%phx.cam.ac.uk@nsfnet-relay.ac.uk
Technical Details
Message-ID: <1991May1.145002.11583@cl.cam.ac.uk>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!dali.cs.montana.edu!uakari.primate.wisc.edu!sdd.hp.com!spool.mu.edu!uunet!mcsun!ukc!warwick!cam-cl!news

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!dali.cs.montana.edu!uakari.primate.wisc.edu!sdd.hp.com!spool.mu.edu!uunet!mcsun!ukc!warwick!cam-cl!news
From: cet1@cl.cam.ac.uk (C.E. Thompson)
Newsgroups: comp.lang.postscript
Subject: Query for expert: XUIDs and font directory copying
Keywords: XUID UniqueID fonts
Message-ID: <1991May1.145002.11583@cl.cam.ac.uk>
Date: 1 May 91 14:50:02 GMT
Reply-To: cet1@cl.cam.ac.uk (C.E. Thompson)
Organization: U of Cambridge Comp Lab, UK
Lines: 27