RE: Bugs in .buildnativefontmap

"Dan Coby" <[email protected]> Wed, 24 Nov 2004 10:59:49 -0800
Newsgroups gmane.comp.printing.ghostscript.patches
Message-ID <[email protected]>
Russell,

A minor improvement:

  Change "eq not" to "ne"

Dan

-----Original Message-----
From: [email protected]
[mailto:[email protected]]On Behalf Of Russell Lang
Sent: Wednesday, November 24, 2004 5:13 AM
To: [email protected]
Subject: [gs-code-review] Bugs in .buildnativefontmap


Craig Ringer is working on a fontconfig patch based on the 
nativefonts interface.  Some debugging on IRC this night
found two errors in .buildnativefontmap.
For GS_8_1X and HEAD.


Log message:
Correct errors in .buildnativefontmap procedure.

DETAILS:
The enumeration of fonts returned by .getnativefonts
was being given "array true" which was causing a 
typecheck in forall because of a missing exch.
It should have been "true array".

Also, .findfontname was returning a name rather than a 
string, so cvn was failing because it was already a name.


Russell Lang                   [email protected]
Ghostgum Software Pty Ltd      http://www.ghostgum.com.au/