2 call RxFuncAdd
"SysLoadFuncs", "RexxUtil", "SysLoadFuncs"
6 say "This utility will remove the FreeType/2 font driver and install "
7 say "the original TRUETYPE.DLL if it exists. If you do not wish to"
8 say "continue, please just press ENTER. Otherwise please type ""y"""
11 if letter
<> "Y" then exit
13 /* Find drive where OS
/2 is installed
*/
14 bootdrive
= SysSearchPath
('PATH', 'OS2.INI')
15 bootdrive
= left
(bootdrive
, 1)
17 app
= "PM_Font_Drivers"
20 /* look
for TRUETYPE.DLL
*/
21 rc
= SysFileTree
(left
(bootdrive
,1) ||
":\OS2\DLL\TRUETYPE.DLL", "file", "F")
24 say "Restoring TRUETYPE.DLL..."
25 val
= "\OS2\DLL\TRUETYPE.DLL" || d2c
(0)
26 SysIni
('BOTH', app
, key
, val
)
29 say "Uninstalling FREETYPE.DLL..."
30 SysIni
('BOTH', app
, key
, "DELETE:")
33 say "FTIFI is uninstalled. Please reboot."