home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 2
/
ctrom_ii_b.zip
/
ctrom_ii_b
/
DOS
/
4DOS
/
UTILS
/
EZ_BTM
/
RMF.BTM
< prev
next >
Wrap
Text File
|
1992-09-20
|
2KB
|
73 lines
@echo off
REM Itamar Even-Zohar's HGC+ fonts loader
REM This is a 4dos version December 1, 1991; updated September 19, 1992
REM USAGE: RMF [0|m|k|b|s|f|r|2|<font name>]
: If you type RMF (no switches), you will get a selection menu.
: If you type a font filename, "FNT" can be omitted.
setlocal
:
if "%1" == "" goto SELECT
:selection
iff "%1" == "0" then goto FINISHED
elseiff "%1" == "m" then set ramfont=heb-med.Fnt
elseiff "%1" == "k" then set ramfont=heb-ktab.Fnt
elseiff "%1" == "s" then set ramfont=standard.Fnt
elseiff "%1" == "f" then set ramfont=sanserIf.Fnt
elseiff "%1" == "r" then set ramfont=heb-snsf.fnt
elseiff "%1" == "b" then set ramfont=heb-big.Fnt
elseiff "%1" == "2" then goto OTHER
else
set ramfont=%1 ^ goto EXTENSIO
endiff
:CHECK
if not exist %@search[%ramfont] goto ERROR
ramfont %@search[%ramfont]
cls
screen 2 0 %@upper[%ramfont] now loaded
goto FINISHED
:OTHER
echo ('FNT' extension can be dropped)
input Type font's name (must be in PATH) : %%ramfont
:EXTENSIO
rem (Allow typing font filename without the FNT extension)
iff %@index[%ramfont,.fnt] == -1 then
set ramfont=%ramfont.FNT
endiff
goto check
:ERROR
echo.
echo %@search[%ramfont] does NOT exist
echo.
goto FINISHED
:SELECT
cls
screen 2 0
text
0 = EXIT
m = Hebrew MEDIUM fonts (+ standard Roman)
k = Hebrew KTAB fonts (+ standard Roman)
b = Hebrew BIG fonts (+ standard Roman)
s = STANDARD fonts (no Hebrew)
f = SANSERIF fonts (no Hebrew)
r = SANSERIF fonts + medium Hebrew fonts
2 = User selected font
endtext
drawhline 9 1 45 1 whi on bla
drawbox 1 0 11 46 1 whi on bla
screen 13 0
inkey Type your choice: %%1
goto selection
:FINISHED
if %1 == 0 echo Aborted...
endlocal
quit