Skip to content
This repository has been archived by the owner on Aug 10, 2020. It is now read-only.

Font generator for the lifx-tile-fonts repository. ⚙️🔠

License

Notifications You must be signed in to change notification settings

furey/lifx-tile-fonts-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lifx-tile-fonts-generator

Font generator for the lifx-tile-fonts repository. ⚙️🔠

Contents

Requirements

Installation

$ git clone https://github.com/furey/lifx-tile-fonts-generator.git
$ cd lifx-tile-fonts-generator
$ npm ci

Configuration

Add the following .env file to your repository root:

OUTPUT_PATH="path/to/my/output/directory"

OUTPUT_PATH

Set OUTPUT_PATH to your intended output destination.

If not set, OUTPUT_PATH defaults to './fonts/output'.

Usage

$ 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…

Fonts

This repo processes 8x8 fonts sourced from:

License

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.