forked from parlr/ruby-font-creator
-
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
6 changed files
with
59 additions
and
6 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,31 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Launch Program", | ||
"skipFiles": [ | ||
"<node_internals>/**" | ||
], | ||
"program": "${workspaceFolder}\\index.js", | ||
"args": [ | ||
"--max_old_space_size=8192", | ||
"--optimize_for_size", | ||
"--stack_size=4096", | ||
"--require", | ||
"babel-core/register", | ||
"--config=./src/config/catus.bottom.js", | ||
"--data=src/data-small-org.json", | ||
"--font-name=Leo-Pinyin-Bottom", | ||
"--base-font=resources/fonts/NotoSerifSC-Regular.ttf", | ||
"--ruby-font=resources/fonts/LXGWWenKaiMono-Regular.ttf", | ||
] | ||
} | ||
] | ||
} | ||
|
||
|
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 |
---|---|---|
@@ -1,8 +1,9 @@ | ||
8TODO List | ||
- [ ] Remove chars that not in input fonts- [X] Build serif version | ||
- [ ] Change the font names to be without '-' | ||
- [ ] Include the built fonts in 'input' folder | ||
- [ ] Remove chars that not in input fonts | ||
- [X] Build serif version | ||
- [ ] Tạo thêm hình ảnh font sau khi tạo ra | ||
- [ ] Make right option | ||
- [X] Build 4 variants: top/bottom/left/right | ||
- [X] Change font output folder to `output` | ||
- [ ] Change the font names to be without '-' | ||
- [ ] Include the built fonts in 'input' folder |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
rm -f build/svg/* | ||
|
||
time node --max_old_space_size=8192 --optimize_for_size --stack_size=4096 --require babel-core/register ./index.js --config=./src/config/bottom.js --data=src/data-org.json --font-name=Leo-Pinyin-Bottom --base-font=resources/fonts/NotoSerifSC-Regular.ttf --ruby-font=resources/fonts/LXGWWenKaiMono-Regular.ttf | ||
time node --max_old_space_size=8192 --optimize_for_size --stack_size=4096 --require babel-core/register ./index.js --config=./src/config/catus.bottom.js --data=src/data-org.json --font-name=Leo-Pinyin-Bottom --base-font=resources/fonts/NotoSerifSC-Regular.ttf --ruby-font=resources/fonts/LXGWWenKaiMono-Regular.ttf | ||
|
||
python3 tools/font_stats.py build/Leo-Pinyin-Bottom.ttf --detailed | ||
#python3 tools/font_stats.py build/Leo-Pinyin-Bottom.ttf --detailed |
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
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
File renamed without changes.