/language-fontforge

Syntax highlighting for SFD files, OpenType features, and FontForge's built-in scripting language.

Primary LanguageCSONISC LicenseISC

Font-file language support

Adds syntax highlighting for several font-related text formats:

Originally, only FontForge scripts were supported (hence the package's name). Over time, additional formats were added which were considered too niche to warrant their own repositories. Many of these grammars are now used by GitHub for highlighting their respective formats. Others may be added in the future.

Previews

FontForge's scripting language: Highlighted .pe file

OpenType feature files: Highlighted .fea file

Adobe font metrics: Highlighted .afm file