Welcome to Typophile
Please Sign in.

Filling up left and right classes using Python

Primary tabs

1 post / 0 new
Ramiro Espinoza's picture
Joined: 1 Aug 2002 - 9:32am
Filling up left and right classes using Python

Hi there,

Since I've been dealing with fonts with lots of ligatures and swashy versions of these ligatures I need a Python script that automatically select glyphs names with the "X_X" syntax and create left and right classes placing each glyph in the right ones. Of course, each ligature glyph should be in two classes (one left the other one right). Generating a text file would be also useful if generating the classes is more complicated...

I think it shouldn't be difficult. Can somebody help me with that? My Python knowledge has sort of vanish due to lack of practice :/

Thanks in advance.