#!/usr/bin/env fontforge

i = 1
while (i < $argc)
    Open($argv[i], 1)
    Select(0xFB00)
    SetGlyphName("ff")
    Select(0xFB01)
    SetGlyphName("fi")
    Select(0xFB02)
    SetGlyphName("fl")
    Select(0xFB03)
    SetGlyphName("ffi")
    Select(0xFB04)
    SetGlyphName("ffl")
    Generate($argv[i])
    Close()
    i++
endloop
