⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 limit.cmd

📁 字体缩放显示
💻 CMD
字号:
/* */call RxFuncAdd "SysLoadFuncs", "RexxUtil", "SysLoadFuncs"call SysLoadFuncsParse Upper Arg a1 a2app = "FreeType/2"key = "OPENFACES"if Arg() = 0 then call usageif a1 = 'Q' then call queryif a1 = 'S' then call setcall usageset:val = a2if val = '' then do   say 'Invalid limit!'   exitendif val < 8 then do   say 'The lowest acceptable limit is 8!'   pause   exitendszval = val || d2c(0)rc = SysIni('USER', app, key, szval)say rcif rc = 'ERROR:' then do   say 'Error updating OS2.INI!'   pause   exitendsay "Open faces limit updated to " || val || ". Please reboot to activate changes."pauseexitquery:val = SysIni('USER', app, key)if val = "ERROR:" then val = "not set"/* strip the terminating NULL character */else val = substr(val, 1, pos(d2c(0), val) - 1)say 'The current open faces limit is ' || valpauseexitusage:say 'This program is used to set the limit of concurrently open typefaces for'say 'FreeType/2. Use lower numbers to limit memory consumption and higher to'say 'improve performance if you use lots of fonts.'saysay 'Usage: LIMIT q         - query the current limit'say '       LIMIT s  <val>  - set limit to <val> (effective on next reboot).'pause

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -