Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!caen!rx7.engin.umich.edu!baronz From: baronz@caen.engin.umich.edu (Aaron L Richards) Newsgroups: comp.sys.amiga.programmer Subject: AREXX AND RexxArpLib.Library Summary: RexxArpLib's SetFont - How do I get to USE the font once I have set it? Message-ID: <1991Feb18.174945.10254@engin.umich.edu> Date: 18 Feb 91 17:49:45 GMT References: <1991Jan20.210328.18087@hoss.unl.edu> <11295.tnews@templar.actrix.gen.nz> Sender: news@engin.umich.edu (CAEN Netnews) Organization: The University of Michigan, Ann Arbor Lines: 40 Hello all!, I am using version 2.3 of W.G.J. Langeveld's RexxArpLibrary to make a very simple notepad type word processor. In trying to get it to show different fonts, I am using RexxArpLibrary's call SetFont command to set the current font. I am using both the call Text and call WindowText to output text in a given font, but they are printing the text I ask them to print in the default font (topaz). I do not receive any errors in my code during a trace or standard execution. Here is a rough idea of the order of events in my program. call createhost call OpenWindow() call SetFont(FASTHOST, "courier.font",24) /* Are args correct?*/ call Text call WindowText /* Thought that I would cover all of the angles with both calls */ Above I haven't written out arguments for the statements for which I believe my syntax is correct. I do question whether or not my SetFont() call is correct. Is there a statement that I should be using instead of call Text or call WindowText to output my text in a different font? Thanks for your assistance, Aaron -- * President MACRO on Campus * * (Michigan's Amiga Computer Resource Organization) * * Senior Computer Consultant -> Organizational Studies Lab * * Amiga Student Representative on Campus * * baronz@caen.engin.umich.edu * * Aaron_l._Richards.ubmts.cc.umich.edu *