A small Mac OS X application to convert a font bitmap into bytes to use for embedded systems.
Branch: master
Clone or download
Pull request Compare This branch is 6 commits ahead, 1 commit behind LuckyResistor:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
FontToBytes.xcodeproj
FontToBytes
FontToBytesTests
.gitignore
LICENSE
README.md

README.md

Font To Bytes

A small Mac OS X application to convert a font bitmap into bytes to use for embedded systems.

Usage

Select the correct mode and output on the left side of the window. Now drag the PNG file with the bitmap font onto the area on the right.

On Success the resulting code is displayed. There you can copy the code to the clipboard or save it to a file.

About the code

This code is written for OS X 10.13 and newer. It is written in Swift 4.1 and requites Xcode 9.3 or newer to compile.

Authors

Lucky Resistor http://luckyresistor.me

Migration to Swift 4.1 and more font converters by Dominik Kapusta http://kapusta.cc

License

Font to Bytes Copyright (C)2015 by Lucky Resistor

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.