Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alhadis/language-fontforge

Syntax highlighting for SFD files, OpenType features, and FontForge's built-in scripting language.
https://github.com/alhadis/language-fontforge

atom fontforge fonts opentype syntax-highlighting

Last synced: 21 days ago
JSON representation

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

Awesome Lists containing this project

README

        

Font-file language support
==========================

Adds syntax highlighting for several font-related text formats:

* [Adobe font metrics][afm]: `.afm`
* [Standard Bézier][bez]: `.bez`
* [FIGlet fonts and control files][fig]: `.flc`, `.flf`, `.tlf`
* [Fontinfo files][fd]: `fontinfo`
* [FontForge's built-in scripting language][pe]: `.ff`, `.pe`
* [Glyph bitmap distribution files][bdf]: `.bdf`
* [OpenType feature files][fea]: `.fea`
* [Spline font databases][sfd]: `.sfd`
* [X font directory lists][dir]: `fonts.dir`, `fonts.scale`, `fonts.alias`, `encodings.dir`

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](https://raw.githubusercontent.com/Alhadis/language-fontforge/master/prev-1.png)

> OpenType feature files:
![Highlighted `.fea` file](https://raw.githubusercontent.com/Alhadis/language-fontforge/master/prev-2.png)

> Adobe font metrics:
![Highlighted `.afm` file](https://raw.githubusercontent.com/Alhadis/language-fontforge/master/prev-3.png)

[Referenced links]:_____________________________________________________________
[afm]: https://adobe.com/content/dam/Adobe/en/devnet/font/pdfs/5004.AFM_Spec.pdf
[bez]: https://github.com/adobe-type-tools/psautohint/blob/c8ff588/doc/bezformat.md
[bdf]: https://adobe.com/content/dam/Adobe/en/devnet/font/pdfs/5005.BDF_Spec.pdf
[dir]: https://www.x.org/archive/X11R7.5/doc/man/man1/mkfontdir.1.html
[fea]: https://adobe-type-tools.github.io/afdko/OpenTypeFeatureFileSpecification.html
[fig]: http://www.figlet.org/figlet-man.html
[fd]: https://github.com/adobe-type-tools/psautohint/blob/12bffdd/python/psautohint/fdTools.py
[pe]: https://fontforge.org/docs/scripting/scripting.html
[sfd]: https://fontforge.org/docs/techref/sfdformat.html