forked from kudryavka/Ricty
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
@echo off | ||
:: フォントを集合させるプログラム | ||
|
||
set FAMILY=Cyroit | ||
|
||
set SUFFIX0=DG | ||
set SUFFIX1=DS | ||
set SUFFIX2=FX | ||
set SUFFIX3=HB | ||
set SUFFIX4=SP | ||
set SUFFIX5=TM | ||
set SUFFIX6=TS | ||
|
||
for /f "usebackq delims== tokens=1,2" %%a in (`set SUFFIX`) do ( | ||
move .\%%b\%FAMILY%%%b-Bold.ttf .\ | ||
move .\%%b\%FAMILY%%%b-BoldOblique.ttf .\ | ||
move .\%%b\%FAMILY%%%b-Regular.ttf .\ | ||
move .\%%b\%FAMILY%%%b-Oblique.ttf .\ | ||
|
||
rd /q %%b | ||
) | ||
|
||
:: del /q OFL.txt | ||
:: del /q README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
|
||
# フォントを集合させるプログラム | ||
|
||
sh_dir=$(cd $(dirname $0) && pwd) | ||
font_familyname="Cyroit" | ||
font_familyname_suffix=("DG" "DS" "FX" "HB" "SP" "TM" "TS") | ||
|
||
for S in ${font_familyname_suffix[@]}; do | ||
mv ${sh_dir}/${S}/${font_familyname}${S}-Bold.ttf ${sh_dir}/ | ||
mv ${sh_dir}/${S}/${font_familyname}${S}-BoldOblique.ttf ${sh_dir}/ | ||
mv ${sh_dir}/${S}/${font_familyname}${S}-Oblique.ttf ${sh_dir}/ | ||
mv ${sh_dir}/${S}/${font_familyname}${S}-Regular.ttf ${sh_dir} | ||
|
||
rm -rf ${sh_dir}/${S} | ||
done | ||
|
||
#rm -f OFL.txt | ||
#rm -f README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
|
||
# フォントを集合させるプログラム | ||
|
||
sh_dir=$(cd $(dirname $0) && pwd) | ||
font_familyname="Cyroit" | ||
font_familyname_suffix=("DG" "DS" "FX" "HB" "SP" "TM" "TS") | ||
|
||
for S in ${font_familyname_suffix[@]}; do | ||
mv ${sh_dir}/${S}/${font_familyname}${S}-Bold.ttf ${sh_dir}/ | ||
mv ${sh_dir}/${S}/${font_familyname}${S}-BoldOblique.ttf ${sh_dir}/ | ||
mv ${sh_dir}/${S}/${font_familyname}${S}-Oblique.ttf ${sh_dir}/ | ||
mv ${sh_dir}/${S}/${font_familyname}${S}-Regular.ttf ${sh_dir} | ||
|
||
rm -rf ${sh_dir}/${S} | ||
done | ||
|
||
#rm -f OFL.txt | ||
#rm -f README.md |