Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!rutgers!cbmvax!andy From: andy@cbmvax.UUCP (Andy Finkel) Newsgroups: comp.sys.amiga Subject: Re: Disk fonts: how to use? Message-ID: <2217@cbmvax.UUCP> Date: Thu, 13-Aug-87 15:08:44 EDT Article-I.D.: cbmvax.2217 Posted: Thu Aug 13 15:08:44 1987 Date-Received: Sat, 15-Aug-87 10:33:49 EDT References: <475@sugar.UUCP> Reply-To: andy@cbmvax.UUCP (Andy Finkel) Organization: Commodore Technology, West Chester, PA Lines: 31 Keywords: amiga disk font In article <475@sugar.UUCP> peter@sugar.UUCP (Peter da Silva) writes: >I'm trying to open a font I already know the name of. Here's what I'm using: >I've tried other combinations of FPF_*. I've tried "tracers". OpenLibrary >always succeeds. OpenDiskFont always fails. A combination of flags that should work is: FPF_ROMFONT|FPF_DISKFONT|FPF_PROPORTIONAL|FPF_DESIGNED and your name should be tracers.font, so your structure should be: struct TextAttr tr_font_attr = { "tracers.font", 6, FS_NORMAL, FPF_ROMFONT|FPF_DISKFONT|FPF_PROPORTIONAL|FPF_DESIGNED }; (you might also need a tracer.font file containing the font header information for the font sizes in tracer in the font: directory. But, then again, since you've got the name, you might not. Try it and see. -- andy finkel {ihnp4|seismo|allegra}!cbmvax!andy Commodore-Amiga, Inc. "The goal of Computer Science is to build something that will last at least until we've finished building it." Any expressed opinions are mine; but feel free to share. I disclaim all responsibilities, all shapes, all sizes, all colors.