我有很多svg文件(大约24个)并想制作一个字体。我试图使用Fontforge但不幸的是我必须在程序中逐个导入它。我发现这个method在Linux中使用但我是Windows用户。是否有任何方法可以批量导入这些文件到Fontforge,特别是在Windows中?对不起,我是新手。
答案 0 :(得分:0)
FontForge嵌入了Python。您可以使用Linux方法。以下fontforge --help
的输出简化为相关细节:
$ fontforge --help
fontforge [options] [fontfiles]
-lang=py use python for scripts (may precede -script)
-lang=ff use fontforge's legacy scripting language
-script scriptfile (executes scriptfile)
must be the first option (or follow -lang).
All others passed to scriptfile.
-dry scriptfile (syntax checks scriptfile)
must be the first option. All others passed to scriptfile.
Only for fontforge's own scripting language, not python.
-c script-string (executes argument as scripting cmds)
must be the first option. All others passed to the script.
If a scriptfile is specified then FontForge will not open the X display
nor will it process any additional arguments. It will execute the
scriptfile and give it any remaining arguments
If the first argument is an executable filename, and that file's first
line contains "fontforge" then it will be treated as a scriptfile.
答案 1 :(得分:0)
我为此创建了一个python脚本,仅在Linux上进行了测试,但是没有理由在Windows上也无法使用。你可以试试看。