Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/alifeee/kiran-builder-typeface


https://github.com/alifeee/kiran-builder-typeface

Last synced: 23 days ago
JSON representation

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)