googlefonts / rcjk-tools

Apache License 2.0
3 stars 0 forks source link

Repository for secondary RoboCJK tools

...such as converters, compilers, testing and debugging tools.

Relates to the Robo-CJK tool: https://github.com/BlackFoundryCom/robo-cjk

Prototype implementation of the Variable Components proposal: https://github.com/BlackFoundryCom/variable-components-spec

Contents

RoboCJK to VarC-VF workflow

To build a VarC-enable Variable font from a RoboCJK project, these steps need to be performed:

Export the RoboCJK project as a VarCo-UFO (variable component data is stored in glyph lib entries):

$ rcjk2ufo ProjectName.rcjk ProjectName.ufo -f TheFamilyName -s TheStyleName

Build the skeleton VF (the parts of the VarC-VF that are standard OT 1.8):

$ fontmake -m ProjectName.designspace -o variable

Add the VarC table:

$ buildvarc ProjectName.designspace variable_ttf/ProjectName-VF.ttf

To document