From: | Nick Clover |
Date: | 28 Aug 2001 at 09:29:26 |
Subject: | Re: Windows and fonts and stuff like that. |
Hello Gill
On 28-Aug-01, you wrote:
> When Window 0 is active, *rp\Font\tf_XSize is 11 (which is correct)
> When Window 1 is active, *rp\Font\tf_XSize is 8 (which aint!)
> Anybody got any ideas why this should be so?
Have you specifically told window 1 to use the same font as window 0?
eg. windowfont 0, just after the window is opened. Using 'Use IntuiFont 0'
won't work with all windows...
or use
*rp.RastPort = RastPort (0)
but It seems to me to be a waste of time creating a function for a 1 line
command. Just do it directly with:
rp.l=RastPort(0);just after you open window 0
result.l=TextLength_(rp,&text$,Peek.l(&text$)-4)
Regards
---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie