@yurisizov.bsky.social To reduce the build size, you can use a subset of the font that only contains the glyphs in your game:
• pip install fonttools
• fonttools subset SOURCE_FONT --text-file=GAME_JA_TEXT --output-file=MINIMIZED_FONT
In my game, the JA font went from 15MB to 0.13MB!
@yurisizov.bsky.social To reduce the build size, you can use a subset of the font that only contains the glyphs in your game:
• pip install fonttools
• fonttools subset SOURCE_FONT --text-file=GAME_JA_TEXT --output-file=MINIMIZED_FONT
In my game, the JA font went from 15MB to 0.13MB!
FONT CHECK lets you inspect glyphs, Unicode coverage, missing characters, variable axes, OpenType features & more — right in your browser.
👉 Get it: tinyurl.com/4cwzenat
#FontTools #Typography #WebDev #Unicode
FONT CHECK lets you inspect glyphs, Unicode coverage, missing characters, variable axes, OpenType features & more — right in your browser.
👉 Get it: tinyurl.com/4cwzenat
#FontTools #Typography #WebDev #Unicode
と心の中で呟きながら、fonttoolsでフォントを分解してチェックしてる。
と心の中で呟きながら、fonttoolsでフォントを分解してチェックしてる。
Unity, Unreal, Godot all offer it. Or you can DIY with FontTools (Python).
Obv can't be used if the user can type anything.
Unity, Unreal, Godot all offer it. Or you can DIY with FontTools (Python).
Obv can't be used if the user can type anything.
already found over 1100 failed files, and it's not even through the C folder yet LMFAOOO
already found over 1100 failed files, and it's not even through the C folder yet LMFAOOO
WeasyPrint now supports CMYK, color profiles, calc(), :first-line, PDF/X… and more!
↘️
github.com/Kozea/WeasyP...
WeasyPrint now supports CMYK, color profiles, calc(), :first-line, PDF/X… and more!
↘️
github.com/Kozea/WeasyP...
Claude 파이썬 도구.md
gist.github.com/lunamoth/555...
Claude 파이썬 도구.md
gist.github.com/lunamoth/555...
brewで入れた(というかbrewで入れたらbrewでしか入れられなかった😇)
python3とfonttoolsの話。
brewで入れた(というかbrewで入れたらbrewでしか入れられなかった😇)
python3とfonttoolsの話。
(百千鳥のような挙動にするため)
web表示では可変にできたけど、illustratorでは機能せず...
なぜだー😇
(百千鳥のような挙動にするため)
web表示では可変にできたけど、illustratorでは機能せず...
なぜだー😇
I wanted it fully functional as a font.
So I found a converted copy of the IBM Code 437 Plus 9x16 font in TTF and have muscled through getting a script generated that uses FontTools to give it an outline and shadow.
I wanted it fully functional as a font.
So I found a converted copy of the IBM Code 437 Plus 9x16 font in TTF and have muscled through getting a script generated that uses FontTools to give it an outline and shadow.
I had some issues with glyphhanger cli, so I fell back to fonttools, but that was after using Slice to manually narrow the axis ranges. That said, I use mostly variable fonts, so that can get skipped for normal fonts.
github.com/source-found...
I had some issues with glyphhanger cli, so I fell back to fonttools, but that was after using Slice to manually narrow the axis ranges. That said, I use mostly variable fonts, so that can get skipped for normal fonts.
github.com/source-found...
Both draw text, neither fails, whichever ran last won.
Pinned now. A silent wrong answer beats a loud failure, said nobody.
Both draw text, neither fails, whichever ran last won.
Pinned now. A silent wrong answer beats a loud failure, said nobody.
그리고 glyphs-cli를 쓸지 gftools(fontmake랑 뭐가 다른 거지)를 쓸지 고민했는데 BDF 때문에 그냥 glyphs-cli로 함
그리고 glyphs-cli를 쓸지 gftools(fontmake랑 뭐가 다른 거지)를 쓸지 고민했는데 BDF 때문에 그냥 glyphs-cli로 함