← 返回命令列表

Linux command

fontforge 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Open FontForge GUI

fontforge

Open font file

fontforge [font.ttf]

Convert font format

fontforge -c 'Open($1); Generate($2)' [input.otf] [output.ttf]

Run script

fontforge -script [convert.pe]

Export to web

fontforge -c 'Open($1); Generate($2)' [font.ttf] [font.woff2]

说明

fontforge is a comprehensive font editor supporting OpenType, TrueType, and many other formats. It provides tools for creating, editing, and converting fonts. The application offers glyph editing, metrics adjustment, kerning, hinting, and OpenType feature development. Scripting support enables batch operations and automated font processing. FontForge handles professional font development workflows from initial design to production-ready output.

参数

-c _SCRIPT_
Execute script command.
-script _FILE_
Run script file.
-lang _LANGUAGE_
Scripting language (ff, py).
-nosplash
Start without splash screen.
--help
Display help information.

FAQ

What is the fontforge command used for?

fontforge is a comprehensive font editor supporting OpenType, TrueType, and many other formats. It provides tools for creating, editing, and converting fonts. The application offers glyph editing, metrics adjustment, kerning, hinting, and OpenType feature development. Scripting support enables batch operations and automated font processing. FontForge handles professional font development workflows from initial design to production-ready output.

How do I run a basic fontforge example?

Run `fontforge` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -c _SCRIPT_ do in fontforge?

Execute script command.