-
-
Save GarconsdeCrystal/5338e0036ccc3e3393ff61f3b2acfd52 to your computer and use it in GitHub Desktop.
SourceHanSansTWHK-Normal subsetting example
This file contains hidden or 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
#!/usr/bin/env PYTHONHOME=/Applications/FontForge.app/Contents/Resources/opt/local/bin/Python.framework.2.7 DISPLAY=:0 /Applications/FontForge.app/Contents/Resources/opt/local/bin/fontforge -script | |
Open("/Users/audreyt/Downloads/SourceHanSansTWHK-1.000/SourceHanSansTWHK-Normal.otf") | |
Select(0u3000) | |
SelectMore(0u3001) | |
SelectMore(0u3002) | |
SelectInvert() | |
Clear() | |
Generate("SourceHanSansTWHK-Normal-Subset.ttf") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment