home *** CD-ROM | disk | FTP | other *** search
- ' By Freak/NFA
- ' Enables Yo To Make Sure You Are Using The
- ' Right Font In Your Proggy From A Large Selection (HD)!
-
- MAIN:
- Screen Open 0,640,256,2,Hires
- Curs Off : Flash Off : Cls 0
- Palette $448,$FFF
-
- Dim FONT(5)
- _SETFONT["DMusic.font",16,1]
- _SETFONT["Coop.font",24,2]
- _SETFONT["Diamond.font",20,3]
- _SETFONT["Helvetica.font",24,4]
- _SETFONT["Polo-Semiscript.font",28,5]
-
- For FONT=1 To 5
- Set Font FONT(FONT)
- Text 100,25*FONT,"ABCDEFGHIJKLM"
- Next FONT
-
- End
-
- Procedure _SETFONT[NAME$,SIZE,INDEX]
- Shared FONT()
-
- NAME$=Upper$(NAME$)
- Get Fonts : FONT=1
-
- Do
- F$=Font$(FONT)
- Exit If F$=""
- N$=Upper$(Left$(F$,Len(NAME$)))
- FS=Val(Mid$(F$,31,3))
- Exit If N$=NAME$ and FS=SIZE
- Inc FONT
- Loop
-
- If F$="" Then FONT=0
- FONT(INDEX)=FONT
-
- End Proc
-
-
-
-
-
-
-