https://github.com/luisiacc/fira-attach
Attach Fira Code glyphs to a font.
https://github.com/luisiacc/fira-attach
Last synced: about 1 month ago
JSON representation
Attach Fira Code glyphs to a font.
- Host: GitHub
- URL: https://github.com/luisiacc/fira-attach
- Owner: luisiacc
- Created: 2021-02-27T19:19:49.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-03-01T07:14:58.000Z (about 4 years ago)
- Last Synced: 2025-01-26T07:07:14.984Z (3 months ago)
- Language: Python
- Size: 604 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## What is this? ๐ค
This script will get all the glyphs from the **Fira Code** font and put them into the specified font, they won't overwrite
existing glyphs, only the ones your font are missing.## How to use ๐คทโโ๏ธ
`./fira-attach.py` to attach FiraCode glyphs to all fonts on the same directory as the script (`*.ttf` and `*.otf` only)
`./fira-attach.py ` to attach FiraCode glyphs to all fonts on `` (`*.ttf` and `*.otf` only)
`./fira-attach.py ` to attach FiraCode glyphs to specified `` path (`*.ttf` and `*.otf` only)
## Ideal use ๐ก
You have your font patched with the [NerdFont](https://github.com/ryanoasis/nerd-fonts) patcher but you are missing some nice
glyphs like the round corners, etc...## Dependencies ๐
- Fontforge installed on your system (see [install instructions](http://designwithfontforge.com/en-US/Installing_Fontforge.html))
## Output ๐
Output font will have the same name as the original with an `- FiraAttached` appended to the file name and will appear
on the `./output` folder relative to the script, real font name is left intact.Ex: `SourceCodePro.ttf` -> `SourceCodePro - FiraAttached.ttf`
## Key Notes: ๐งท
- I didn't test this against an original font that hasn't been patched, I have always tested this against NerdFont patched fonts,
so it gives me nice results ๐.- I think if you patch it to an unpatched font it will inject the NerdFonts glyphs as well but I wouldn't recommend that.