This is a template for using Caryll Ideohint to build Source Han Sans' TTF version. The template contains:
- The full set of Source Han Sans in OTF.
- The corresponded parameters for hinting.
- MAKEFILE and corresponded support files.
To run this build you need...
- Node.js:
- Download it here: https://nodejs.org/en/
- The installer will make it visible so don’t worry about PATH.
- GNU
make
. - TTFAutohint:
- Download it here: https://www.freetype.org/ttfautohint/
- Make it visible in your PATH.
- If you already made a folder into PATH and put
make
into it, then putttfautohint
into the same directory would work. No need to set the environment variable again, because you already did that.
- If you already made a folder into PATH and put
- otfcc.
- Download it here: https://github.com/caryll/otfcc
- Make them (yes, there are two executables) visible in your PATH.
- CPU. A LOT. (It takes me about 30 hours to build on a 16-core server. Really.)
To run the hinting:
- Open your Terminal or PowerShell.
cd
into the directory containing this README.- Type:
npm install
. - Type:
node top
. - Follow its instructions.
- Once you decide to perform hinting, the results would be in the
out/
directory.
- Once you decide to perform hinting, the results would be in the