import { getCommand } from './command.js';
import { BuildCommandToConvertFontWithFontForgeModel } from './type/index.js';
export async function buildCommandToConvertFontWithFontForge(source) {
    const { input, output } = BuildCommandToConvertFontWithFontForgeModel.parse(source);
    const cmd = getCommand(`fontforge`);
    cmd.list.push(`-lang=ff`, `-c`, `'Open($1); Generate($2)'`, `"${input.file.path}"`, `"${output.file.path}"`);
    return [cmd];
}
//# sourceMappingURL=font.js.map