home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pegasus Graphics Universe
/
Pegasus_Graphics_Universe.iso
/
p11
/
fonts
/
tallfont.txt
< prev
Wrap
Text File
|
1990-06-05
|
855b
|
33 lines
\CLEAR PICS\READ 242917PW.PIC
\LOC 0,0\WID 320\OVER 0\HEIG 199
This program lets you modify the
height of a font. It is set up
to handle proportional fonts.
First, rename the font to be changed
to a .PIC file.
To use, with the P11 editor change
the name of the font on the first
line. After it runs save the new font
which will be above the original
font file.
\MOVE 1 TO M \MOVE 0 TO X \MOVE 0 TO Y
\CLEAR SCREEN
\SHOW 0,0,M
\X LOOP1
\DOT X,Y,?
\IF A>0\DOT X+96,Y*3/4,1\ENDIF
\ADD 1 TO X
\IF Y=27\DOT 96+X,Y,1\ENDIF
\IF X<28\JUMP LOOP1\ENDIF
\MOVE 0 TO X \ADD 1 TO Y
\IF Y<32\JUMP LOOP1\ENDIF
\MOVE 0 TO Y
\SHOW 96,0,M,M,S
\CLEAR SCREEN
\SHOW 192,0,M\MOVE 7 TO T
\X SAVELOOP\DOT T+192,27,?\IF A>0\ADD 1 TO T\JUMP SAVELOOP\ENDIF
\FRAME 192,0,T,22
\ADD 1 TO M
\CLEAR SCREEN
\IF M>95\END\ELSE\SHOW 0,0,M\JUMP LOOP1\ENDIF