This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Copyright (c) 2010 Zachary Catlin | |
# MIT-licensed; see full license at end-of-file. | |
# A Python/FontForge script that creates subfont TeX metrics and encoding files | |
# of a given PostScript-flavored OpenType font, much the way ttf2tfm(1) creates | |
# subfont files for TrueType fonts. This allows the font to be used with the | |
# LUC encoding provided by the LaTeX ucs package. Also, the script exports the | |
# original font to Type1 format for more flexible use by pdfTeX. All generated |