update changelog and script
This commit is contained in:
parent
f1adb06906
commit
21d92b0686
2 changed files with 14 additions and 11 deletions
|
@ -12,6 +12,7 @@
|
|||
### fix
|
||||
|
||||
- fix: italic `<->`
|
||||
- fix: fix meta table for SC-NF
|
||||
|
||||
## v6.3
|
||||
|
||||
|
|
|
@ -1,30 +1,32 @@
|
|||
@echo off
|
||||
|
||||
set python_exe="C:\Program Files (x86)\FontForgeBuilds\bin\ffpython.exe"
|
||||
set font_dir=..\output\ttf
|
||||
set output_dir=..\output\NF
|
||||
set args=-l -c --careful
|
||||
|
||||
set font_dir=..\output\ttf
|
||||
if %3==1 (
|
||||
set font_dir=%font_dir%-autohint
|
||||
)
|
||||
if not exist %font_dir% (
|
||||
echo Font directory does not exist: %font_dir%
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
set font_name=%1
|
||||
|
||||
@REM full args: https://github.com/ryanoasis/nerd-fonts#font-patcher
|
||||
set args=-l -c --careful
|
||||
if %2==1 (
|
||||
set args=%args% -s
|
||||
)
|
||||
|
||||
if %3==1 (
|
||||
set font_dir=%font_dir%-autohint
|
||||
)
|
||||
|
||||
set font_path=%font_dir%\%font_name%.ttf
|
||||
set font_name=%1
|
||||
|
||||
if not exist %font_path% (
|
||||
echo Font file does not exist: %font_path%
|
||||
|
||||
set target_font_path=%font_dir%\%font_name%.ttf
|
||||
|
||||
if not exist %target_font_path% (
|
||||
echo Font file does not exist: %target_font_path%
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
%python_exe% %cd%\FontPatcher\font-patcher %args% --outputdir %output_dir% %font_path%
|
||||
%python_exe% %cd%\FontPatcher\font-patcher %args% --outputdir %output_dir% %target_font_path%
|
Loading…
Reference in a new issue