From: Ben Armstrong [BArmstrong@dymaxion.ca] Sent: Monday, April 28, 2003 12:36 PM To: Info-VAX@Mvb.Saic.Com Subject: Re: Ghostscript 6.50 & >=VMS 7.3: Error: /invalidfont in findfont Ben Armstrong wrote: > Keith A. Lewis wrote: >> Doesn't gs/gv work on Linux? Maybe there are free fonts available... > Both gs and gv work on Linux, and free fonts are available that are > aliased so they appear under the same name as the Adobe fonts, but I don't > know how to deploy these fonts under VMS. Keith, that turned out to be the hint that paid off. Since Linux works, the VMS Ghostscript kit must be mapping fonts differently, as the VMS kit does seem to contain all of the same fonts that Linux does. Sure enough, have a look at GS_LIB:FONTMAP.VMS. The header says: % fontmap.vms - Ghostscript fontmap for VAX/VMS systems with DECwindows/Motif. % %Uses only the XDPS Outline fonts (Type 1 fonts) provided with Motif. % %Note that this file contains only those fonts that come with VMS. Full font %specification is made by prepending FONTMAP.GS to this file (this takes %advantage of the fact that when a font is specified multiple times in the %fontmap file, Ghostscript uses the LAST one specified). % %The recommended way to build the FONTMAP. file is to issue the command: %COPY FONTMAP.GS,FONTMAP.VMS FONTMAP. Since Motif on later revisions of VMS no longer include these outlines, as discussed in the thread I pasted earlier, the solution is merely to recreate FONTMAP. so that it is only a copy of FONTMAP.GS, and does not include FONTMAP.VMS, which would otherwise supercede the .GS mappings with incorrect mappings to non-existent font outlines: $ SET DEF GS_LIB $ COPY FONTMAP.GS FONTMAP. After fixing up the fontmap in this fashion, GS now uses the free Adobe font substitutes that ship with the kit instead of the Adobe outlines. Thanks, Ben -- Ben Armstrong -. Medianet Development Group, BArmstrong@dymaxion.ca `-. Dymaxion Research Limited `- Halifax, Nova Scotia, Canada