Path: utzoo!attcan!uunet!mcvax!ukc!strath-cs!glasgow!cathy From: cathy@cs.glasgow.ac.uk (Catherine Anne Wood) Newsgroups: comp.windows.news Subject: Creating new icon fonts - Help required Keywords: icons, fonts,'findfilefont' Message-ID: <1564@crete.cs.glasgow.ac.uk> Date: 10 Aug 88 11:47:45 GMT Organization: Computing Sci, Glasgow Univ, Scotland Lines: 33 Is there an easy way to incorporate new icons into NeWS ? At the moment the only way I can see is to generate a new icon font ... and that seems to have its problems. I want to be able to use icons I design with the SunView icon editor. I have managed to create a new icon font using the procedure described in the manual (Chapter 16) but still have two problems : a) Having created my own font how do I use BOTH it and the standard icon font. I want to create items using both fonts. What I really want is to be able to dynamically alter the font used to create items so I (and other users of my system) can have different fonts for different uses. b) Any changes made to the font after NeWS has been started up are unavailable until the next time NeWS is loaded. There is a routine "findfilefont" - Reads the font family file named by the string and constructs and returns a font object that refers to it Which the manual says is the routine to use to have a font loaded into NeWS after it has started up. However I cannot get this to work - it keeps giving the error "invalidfont". The font does however work okay if I stop NeWS and restart it. Is there an easier way !!!! - Am I going about this the hard way ? ARPANet: cathy%cs.glasgow.ac.uk@nss.cs.ucl.ac.uk JANET: cathy@uk.ac.glasgow.cs UseNet: mcvax!ukc!cs.glasgow.ac.uk!cathy Mail: Cathy Wood, Computer Science, 17 Lilybank Gardens, GB-GLASGOW G12 8QQ