Path: utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!swrinde!ucsd!ucbvax!reading.ac.uk!Anthony.D.Worrall From: Anthony.D.Worrall@reading.ac.uk (Anthony Worrall) Newsgroups: comp.windows.news Subject: cps ps_findfont Message-ID: <9003041319.AA18416@isg.cs.reading.ac.uk> Date: 5 Mar 90 17:13:16 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 35 Category: x11news Subcategory: libcps Bug/Rfe: bug Synopsis: font names are sent as strings by ps_findfont and ps_fontdef Severity: 5 Priority: 4 Description: The routines ps_findfont and ps_fontdef send the names of the fonts as postscript strings instead of postscript objects. Work around: Use pprintf to find and define fonts. Suggested fix: Edit the file psmacros.cps in $OPENWINHOME/share/src/xnews/lib/NeWS diff psmacros.cps_old psmacros.cps 62c62 < cdef ps_findfont(string f) f findfont --- > cdef ps_findfont(postscript f) f findfont 84c84 < cdef ps_DO_finddef(string font,usertoken) font findfont --- > cdef ps_DO_finddef(postscript font,usertoken) font findfont then do a make install (change XXINSDIRXX to $(OPENWINHOME)). Called in by: Customer: Company: University of Reading Employee: Anthony Worrall Release: 1.0 Hardware version: sun3 and sun4 O/S version: SUNOS 4.0.3