Font generator for the lifx-tile-fonts repository. ⚙️🔠
$ git clone https://github.com/furey/lifx-tile-fonts-generator.git
$ cd lifx-tile-fonts-generator
$ npm ci
Add the following .env
file to your repository root:
OUTPUT_PATH="path/to/my/output/directory"
Set OUTPUT_PATH
to your intended output destination.
If not set, OUTPUT_PATH
defaults to './fonts/output'
.
$ node .
Group: oldschool-pc-fonts
Font: v-tech
Char: A
Bounds: { left: 0, right: 5, top: 1, bottom: 7, width: 6, height: 7 }
········
··██····
·█··█···
█····█··
█····█··
██████··
█····█··
█····█··
Group: oldschool-pc-fonts
Font: v-tech
Char: B
Bounds: { left: 0, right: 5, top: 1, bottom: 7, width: 6, height: 7 }
········
█████···
·█···█··
·█···█··
·████···
·█···█··
·█···█··
█████···
Group: oldschool-pc-fonts
Font: v-tech
Char: C
Bounds: { left: 0, right: 5, top: 1, bottom: 7, width: 6, height: 7 }
········
··███···
·█···█··
█·······
█·······
█·······
·█···█··
··███···
// etc…
This repo processes 8x8
fonts sourced from:
ISC License
Copyright (c) 2019, James Furey
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.