Path: utzoo!utgpu!watserv1!ria!uwovax.uwo.ca!4225_5117 From: 4225_5117@uwovax.uwo.ca Newsgroups: comp.sys.apple2 Subject: Re: DrawChar Message-ID: <1991Feb25.005856.8675@uwovax.uwo.ca> Date: 25 Feb 91 05:58:56 GMT References: <2592@kluge.fiu.edu> Lines: 17 In article <2592@kluge.fiu.edu>, acmfiu@serss0.fiu.edu (ACMFIU) writes: > i setup a window with no title. now, when i moveto local coordinates (0, 5) > with 0 as vertical and 5 as horizontal, why or why when i drawchar ('a') > doesn't the 'a' get drawn to the upper left corner of the window. it seems > like there is an imaginary window title there and the (0, 5) gets offset > from that. i don't want this. how can i do what i want? > > albert Simple, the current vertical pen position is used as the position for the baseline of the font. In the case of Shaston this is probably about 7 or 8 pixels from the top of the character. To get the text to appear where you want you must take this top-to-baseline height into account and position the pen down far enough. Mike Brought to you by Super Global Mega Corp .com