| 1 | #Needs: fonts/Ambrosia.sfd |
| 2 | import sys, fontforge |
| 3 | |
| 4 | ambrosia = sys.argv[1] |
| 5 | font = fontforge.open(ambrosia) |
| 6 | |
| 7 | # Make sure that this doesn't segfault |
| 8 | font.italicize(lc_condense=(0.9, 0.9, 0.9, 0.9)) |
| 9 | |
| 10 | # Test the new xheight_percent keyword argument |
| 11 | font.italicize(xheight_percent=0.80) |
| 12 | |
| 13 | font.close() |