Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alifeee/kiran-builder-typeface
https://github.com/alifeee/kiran-builder-typeface
Last synced: 23 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/alifeee/kiran-builder-typeface
- Owner: alifeee
- Created: 2023-12-02T21:22:08.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2024-02-25T17:53:37.000Z (9 months ago)
- Last Synced: 2024-02-25T18:49:52.979Z (9 months ago)
- Size: 4.62 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Kiran Builder Typeface
Building a font from this image
![Picture of painted writing on a wall](./reference/total.png)
Using
## Commands
Required:
- (standard on Ubuntu)
### Invert quantized images
```bash
for image in $(find . -wholename "./reference/quantized_png/*.png"); do convert $image -channel RGB -negate ./reference/quantized_inverted_png/$(basename $image);
```### Convert quantized images to bitmaps
```bash
for image in $(find . -wholename "./reference/quantized_inverted_png/*.png"); do convert $image ./reference/quantized_inverted_bmp/$(basename ${image%.*}).bmp; done
```### Trace bitmaps with `potrace`
```bash
for image in $(find . -wholename "./reference/quantized_inverted_bmp/*"); do potrace --svg $image -o "./reference/traced/$(basename ${image%.*}).svg"; d
one
```## FontForge
### Import SVGs
See , but click on a letter, `Ctrl+Shift+I`. Then, open it, scale it (`Ctrl+\`), move it, and move the end baseline.
### Generate font
See , but `Ctrl+Shift+G` in FontForge.
## Preview font
You can use , and upload [`kiranbuilder.woff`](./kiranbuilder.woff)
![Preview of font](images/font-preview.png)