All Projects → vladimirgamalyan → Fontbm

vladimirgamalyan / Fontbm

Licence: mit
BMFont compatible, cross-platform command line bitmap font generator

Labels

Projects that are alternatives of or similar to Fontbm

Ofxfontstash
Easy (and fast) unicode string rendering addon for OpenFrameworks. FontStash is made by Andreas Krinke and Mikko Mononen
Stars: ✭ 84 (-16.83%)
Mutual labels:  font
Faux Pas
A script to highlight elements that are mismatched incorrectly to @​font-face blocks, which may result in shoddy faux bold or faux italic rendering.
Stars: ✭ 93 (-7.92%)
Mutual labels:  font
Lab Mono
Grotesque-esque monospaced typeface
Stars: ✭ 99 (-1.98%)
Mutual labels:  font
Postcss Foft Classes
A postcss plugin to automatically add classes for various font loading strategies.
Stars: ✭ 87 (-13.86%)
Mutual labels:  font
Cdnjs
🤖 CDN assets - The #1 free and open source CDN built to make life easier for developers.
Stars: ✭ 9,270 (+9078.22%)
Mutual labels:  font
Work Sans
A grotesque sans.
Stars: ✭ 1,319 (+1205.94%)
Mutual labels:  font
Freetype Gl
OpenGL text using one vertex buffer, one texture and FreeType
Stars: ✭ 1,236 (+1123.76%)
Mutual labels:  font
Ahk Rare
My collection of rare and maybe very useful functions
Stars: ✭ 101 (+0%)
Mutual labels:  font
Materialdesignsymbol
Icon font library for Swift. Currently supports GoogleMaterialDesignIcons
Stars: ✭ 92 (-8.91%)
Mutual labels:  font
Robofab
RoboFab
Stars: ✭ 97 (-3.96%)
Mutual labels:  font
Open Arrow
Open Arrow is an open-source font that contains 112 arrow symbols from U+2190 to U+21ff
Stars: ✭ 89 (-11.88%)
Mutual labels:  font
Source Han Sans
Source Han Sans | 思源黑体 | 思源黑體 | 思源黑體 香港 | 源ノ角ゴシック | 본고딕
Stars: ✭ 10,181 (+9980.2%)
Mutual labels:  font
Fontmin Webpack
Minifies icon fonts to just the used glyphs.
Stars: ✭ 93 (-7.92%)
Mutual labels:  font
Css Mono
Monospaced Typeface Created for CSS Coding
Stars: ✭ 85 (-15.84%)
Mutual labels:  font
Source Han Code Jp
Source Han Code JP | 源ノ角ゴシック Code
Stars: ✭ 1,362 (+1248.51%)
Mutual labels:  font
Helmet
Neo-grotesque typeface
Stars: ✭ 84 (-16.83%)
Mutual labels:  font
Retrotxt
RetroTxt is the WebExtension that turns ANSI, ASCII, NFO text into in-browser HTML
Stars: ✭ 93 (-7.92%)
Mutual labels:  font
Sporting Grotesque
A grotesque typeface by @LucasLeBihan
Stars: ✭ 101 (+0%)
Mutual labels:  font
Blockzone
A faithful recreation of the original DOS font.
Stars: ✭ 100 (-0.99%)
Mutual labels:  font
Tensorflow Font2char2word2sent2doc
TensorFlow implementation of Hierarchical Attention Networks for Document Classification and some extension
Stars: ✭ 95 (-5.94%)
Mutual labels:  font

fontbm

BMFont compatible, cross-platform (lin/win/mac) command line bitmap font generator.

sample sample

Status

Linux/macOS Windows Quality
Build Status Build status Codacy Badge

Usage

Download compiled version (fontbm.zip for Windows, fontbm for Linux) from Releases. Run:

fontbm --font-file FreeSans.ttf --output myfont

It will produce myfont.fnt (file format) and myfont.png (how to render text).

Available options (bold options are required):

option default comment
--font-file path to ttf file, required (can be set several times for fallback fonts)
--output output files name without extension, required
--font-size 32 font size
--color 255,255,255 foreground RGB color, for example: 32,255,255 (without spaces)
--background-color background RGB color, for example: 0,0,128 (without spaces), transparent by default
--chars 32-126 required characters, for example 32-64,92,120-126 (without spaces), default value is 32-126 if 'chars-file' option is not defined
--chars-file optional path to UTF-8 text file with additional required characters (will be combined with 'chars' option).
--data-format txt output data file format: txt, xml, bin, json
--include-kerning-pairs include kerning pairs to output file
--padding-up 0 padding up
--padding-right 0 padding right
--padding-down 0 padding down
--padding-left 0 padding left
--spacing-vert 0 spacing vertical
--spacing-horiz 0 spacing horizontal
--texture-width 256 texture width
--texture-height 256 texture height
--max-texture-count maximum generated texture count (unlimited if not defined)

Building Linux

Dependencies:

Build:

cmake .  
make

Building Windows (using vcpkg)

Download and install vcpkg and CMake 3.10.2 (or above). Run:

vcpkg install freetype
cmake -G "Visual Studio 14 2015" -DCMAKE_TOOLCHAIN_FILE=<path to vcpkg dir>/scripts/buildsystems/vcpkg.cmake

Open .sln in Visual Studio 2015 and rebuild all.

Building Windows

Download and install CMake 3.0 (or above) and FreeType. Run:

cmake -G "Visual Studio 14 2015"

Open .sln file in Visual Studio 2015, configure paths to FreeType and rebuild all.

Building macOS

(thanx to andycarle https://github.com/Moddable-OpenSource/moddable/issues/325#issuecomment-769615337)

brew install freetype
git clone https://github.com/vladimirgamalyan/fontbm.git
cd fontbm
cmake .
make

Contributors

License

MIT License

The project also bundles third party software under its own licenses:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].