[futurebasic] Re: [FB] Font ID

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : October 1999 : Group Archive : Group : All Groups

From: Alain Pastor <apastor@...>
Date: Fri, 08 Oct 1999 10:50:23 +0200

Brian Heibert wrote:

> Hi,
>
> Al Stafferri Jr. has a program called: Font Finder,
> and I had a program called FontCatcher.
>
> But I can't find my FontCatcher source code anywhere now,
> after my hd crash and ...
>
> Al's Font Finder doesn't work on System 8 & higher and I have:
> System 8.6
>
> Well I need to know what font # Ariel Plain is.
>
> Because I want to use it my program.
>
> Does anyone know how I can find out?
>
> I've tried TEXT _Ariel,12,0,0
> It works if I would type TEXT _Helvetica (simular),12,0,0
> but not with Ariel & I just so happen to be picky this time.
>

Brian,

Perhaps you should rather use something like this:
CALL GETFNUM("Ariel",fNum%)   'on return fNum% will hold the font number
IF NOT(fNum%) THEN fNum%=_helvetica 'provide a more appropriate alternate
standard font
TEXT fNum%,12,0,0

bye

Alain