typesupply / feaPyFoFum

A library for making .fea dynamic.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

feaPyFoFum

twardoch opened this issue · comments

Tal,

I've recently started writing something similar but using http://jinja.pocoo.org/ :)

The Jinja2 website says “Configurable syntax. For instance you can reconfigure Jinja2 to better fit output formats such as LaTeX or JavaScript.” — so I thought, why not FEA. One annoynace is that Jinja2 does not allow to directly write brute-force Python code — for that http://www.makotemplates.org/ is better (see example) but Mako is far-less popular than Jinja2.

I thought Jinja2 would be potentially great for all type design — outputting GLIF, FEA, TTX or anything else you like. But I think your approach also has merits, especially since it’s much more self-contained.