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

https://github.com/njourdane/post-binary-font-patcher

A cli tool used to patch a font in order to add post-binary ligatures.
https://github.com/njourdane/post-binary-font-patcher

fonts typography

Last synced: 26 days ago
JSON representation

A cli tool used to patch a font in order to add post-binary ligatures.

Awesome Lists containing this project

README

        

# Post-binary font patcher

A cli tool used to patch a font in order to add post-binary ligatures.

Inspired by the [genderfluid fonts](https://typotheque.genderfluid.space) from the [Bye Bye Binary collective](https://www.byebyebinary.space/).

## Installation

1. [Download FontForge](https://fontforge.org/en-US/downloads/);
2. Clone repository:

```
git clone https://codeberg.org/roipoussiere/post-binary-font-patcher.git
```

Only tested on Linux for now, feedback is welcome for other platforms.

## Usage

This repository contains a script named `pbfp.py` used for command-line interface:

cd post-binary-font-patcher
./pbfp.py help

### Patch a font

./pbfp.py

Example:

./pbfp.py /usr/share/fonts/opentype/artemisia/GFSArtemisia.otf

### Preview a font

./pbfp.py

Example:

./pbfp.py "GFS Artemisia"

### Configuration

Either modify:
- `post_binary_font_patcher/config.py` to edit configuration;
- `ligatures.json` to change ligature behavior.

## Previews

Lobster:

![](./previews/lobster.png)

Chilanka:

![](./previews/chilanka.png)

GFS Artemisia:

![](./previews/artemisia.png)

## License

- Post binary font patcher (this project): [MIT](./LICENSE)
- Fonts used in preview images: [OFL](https://openfontlicense.org/)

## Contact

You can either:

- fill an issue on [Codeberg](https://codeberg.org/roipoussiere/post-binary-font-patcher/issues) or Github;
- contact me [on Mastodon](https://mastodon.tetaneutral.net/@roipoussiere).