volt2fea - generates Adobe FEA file representing a VOLT project
volt2fea [options] infont outfea
Opens VOLT project (a .ttf file) then writes an equivalent FEA file
-t file Volt source as text file to use instead of what is in the font -h Help
volt2fea attempts to convert a VOLT project to an AFDKO feature (FEA) file.
Note that the FEA file is written in terms of the glyph names found in the input font, not from the VOLT names in the project (which may be different).
This code attempts to write FEA files that are compatible with both AFDKO and Fontforge, but your mileage may vary since both have some bugs in the way stuff is parsed.
For anchor attachment lookups this code assumes that anytime a rule references a particular anchor point that all mark glyphs of that class may be included in the rule. VOLT authors may have included only the marks that the rule is likely to "see" but limiting the feature file to such subsets requires lookup-specific markClasses.
This is early code and there are bugs. It understands everything in my Arabic font but does not yet genereate fully operational FEA code. I would certainly appreciate any examples of results where you can identify why the FEA file is incorrect.
Bob Hallissy <http://scripts.sil.org/FontUtils>. (see CONTRIBUTORS for other authors).
Copyright (c) 1998-2016, SIL International (http://www.sil.org)
This script is released under the terms of the Artistic License 2.0. For details, see the full text of the license in the file LICENSE.
To install Font::TTF::Scripts, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Font::TTF::Scripts
CPAN shell
perl -MCPAN -e shell install Font::TTF::Scripts
For more information on module installation, please visit the detailed CPAN module installation guide.