Bitmap Font Creator

Bitmap Font Builder

The editor works natively with BDF fonts. Gbdfed can import: Metafont PK/GF fonts. Han Bitmap Font format (HBF) fonts. Linux console (PSF, CP, and EGA/VGA) fonts. OpenType (OTF & TTF) fonts (using Freetype 2). A font from the X server. Gbdfed can export: PSF2 Linux console fonts. HEX fonts (see online help). I want to create a bitmap-only font on Windows, so it can be registerd in platform. I already have bitmaps, and everything for that. What I have found out: There is a (legacy?) FON/FNT format. I have some of those on my PC, but they seem to show-up only in 1-bit, though MS docs say: DFF1COLOR means 8 pixels per byte DFF16COLOR means 2 pixels.

GLCD Font Creator enables the creation of personalized fonts, symbols and icons for LCDs and GLCDs. Create fonts and symbols from scratch, or by importing existing fonts on your system. It lets you modify and adjust them for your needs, apply effects and finally export them as source code for use in mikroC, mikroBasic or mikroPascal compilers. Mar 17, 2015 Codehead’s Bitmap Font Generator Posted: 17 Mar 2015 at 00:08 by Codehead One of the big problems OpenGL runs into after you’ve got your first few polygons flying around the screen is the lack of a standard method for generating text within the API.

Bitmap font generator This program will allow you to generate bitmap fonts from TrueType fonts. The application generates both image files and character descriptions that can be read by a game for easy rendering of fonts.

What is Bitmap Font Builder?

Bitmap Font Builder is an application that makes it easy to create bitmaps for use in OpenGL and DirectX applications.

Features

  • Saves font texture in 8-bit TGA, 24-bit TGA, 32-bit TGA, RAW or BMP format
  • Automatic font sizing
  • Automatic texture sizing – pick your font sizes and the texture will automatically be resized to fit that font.
  • Character justification settings
  • Grid color adjust
  • Option to save character widths to binary or INI file
  • Option to save character ABC Widths to binary file
  • Copy texture image to Windows’ clipboard

What does Bitmap Font Builder NOT do?

Bitmap Font Builder DOES NOT allow you to edit Windows TrueType fonts. Check out High-Logic’s Font Creator if that’s what you’re trying to do.

While you’re there, tell them Thom Wetzel sent you — maybe they’ll send me a free copy one of these days for sending them all this freaking traffic *hint* *hint* High-logic! I want to thank Erwin at High-Logic for hooking me up with free licenses for his FontCreator and MainType products. One piece episode mp4 sub indonesia. Thanks Erwin!

Enjoy the program!

Please contact me if you have any comments or suggestions regarding this program, of if your site features BFB-related info!

Bitmap Font Creator - Video Results Posted: 17 Mar 2015 at 00:08 by Codehead

One of the big problems OpenGL runs into after you’ve got your first few polygons flying around the screen is the lack of a standard method for generating text within the API.

A few techniques have evolved to tackle the problem:

Pre-generated string textures

The simplest and fastest method, a texture is pre-built for each piece of text that needs to be displayed. This is quick to render at run time, but isn’t very flexible or efficient.

Polygon glyphs created from outline font definitions

This method produces high quality, scalable text, but this is also the slowest approach due to the overhead of generating and rendering the glyph polygons.

WGL and GLUT extensions

Bitmap

These extensions do a great job of text rendering. However, these libraries are not universally available on all systems and I have a bad habit of trying to be portable and platform independent.

Bitmapped fonts

Bitmap fonts are fast, flexible and platform independent. However, there are some limitations: Quality suffers when scaling up the texture and the number of possible characters in a font bitmap is limited. Extended or Unicode character sets with accents or non-latin symbols are not well supported.

A bitmapped font is simply an atlas texture containing a collection of glyphs and symbols. (Note: the purple lines are a visual aid, they do not appear on the actual texture.)

The grid layout means that the calculation required to select any given character is quick and simple.

The area containing the selected characters can then be mapped onto a series of polygons to create dynamic strings of text.

Adding width information to the glyphs allows the textured quads to be overlapped to create better looking text with variable character widths.

There are quite a few bitmap font generators around, but I couldn’t find one that provided all the features I wanted. So I wrote my own.

Codehead’s Bitmap Font Generator (CBFG) is now at version 1.45 and supports the following features:

  • DIB rendering of font gives best font output, regardless of users screen settings
  • Global or per character position and width adjustment
  • Texture Sizes from 16×16 up to 4096×4096
  • Zoom up to 400% for accurate tweaking of character positions
  • Anti-aliasing or ClearType (XP+) for smoother looking fonts
  • Control of font width
  • Font preview option
  • TGA export option
  • BMP output option
  • BFF output in 8, 24 and 32bit colour depths
  • C++ example source code for loading and rendering BFF files
  • Binary font data export
  • Font info dump option
  • User configurable colours and startup parameters

Many people have made useful suggestions that have been implemented in CBFG, and the tool has been used on the following projects:

  • Floating Sandbox A 2D Physics Simulator developed by Gabriele Giuseppini.
  • Beginning Android Games An APress book by Robert Green and Mario Zechner
  • SkaPong by Einar
  • SF2DBmpFont a font loader for 3DS homebrew by Flarn2006
  • ByVac’s [BV4629] Touchscreen LCD

Downloads

CBFG Packages

Windows Installer Package

Files only zip

Source Code

CBFG has been open sourced under the BSD licence. You can get v1.45 on GitHub

BFF Loading Code

C/C++ - included in zip/installer.

4A Games

Android by Codehead

O’Caml by Einar (local mirror)

SF2DBmpFont a font loader for SF2DLib by Flarn2006

The Future

CBFG hasn’t been in active development for a few years now, but there are still a few features I always wanted to add:

4A Games

ToDo List

  • State save option
  • Merge/Extract font image

Wish List

  • Export in other font generator formats
  • Edit font image
  • Unicode support

See Full List On Angelcode.com

Known Issues

Cleartype system setting can override antialias settings in application.

Please enable JavaScript to view the comments powered by Disqus.