export.bat
来自「FontExporter:将指定文件包含的文本」· Batch 代码 · 共 20 行
BAT
20 行
@echo off
set PICFONT_TEXT_FILE=sample.xml
set PICFONT_LIB=FL12
set PICFONT_BASE_PATH=.
set PICFONT_MIN_CHAR=
set PICFONT_NAME=Microsoft Sans Serif
set PICFONT_SIZE=10
set PICFONT_FIXED_WIDTH=
set PICFONT_SPRITE=small_font
set PICFONT_EXPORT_PARAM=-font "%PICFONT_NAME%" -size %PICFONT_SIZE% -in %PICFONT_TEXT_FILE% -out %PICFONT_LIB%
if "%PICFONT_MIN_CHAR%" neq "" set PICFONT_EXPORT_PARAM=%PICFONT_EXPORT_PARAM% -min %PICFONT_MIN_CHAR%
if "%PICFONT_SPRITE%" neq "" set PICFONT_EXPORT_PARAM=%PICFONT_EXPORT_PARAM% -sprite %PICFONT_SPRITE%
if "%PICFONT_FIXED_WIDTH%" neq "" set PICFONT_EXPORT_PARAM=%PICFONT_EXPORT_PARAM% %PICFONT_FIXED_WIDTH%
java -cp "%PICFONT_BASE_PATH%\jxl.jar;%PICFONT_BASE_PATH%\picfont.jar" util.loc.FontExporter %PICFONT_EXPORT_PARAM%
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?