font

command
v0.0.0-...-912d621 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2022 License: MPL-2.0 Imports: 23 Imported by: 0

README

Font Tools

Create pixel fonts. You might do this:

$ bazel run :font --
    -font <path-to-font>
    -size=16
    -out-grid=out.png
    -out-texture=tex.png
    -texture-size=64:64
    -charset=20,30-39,41-5a,61-7a
    -remove-notdef

This does the following:

  • Renders the font at 16 pixels high

  • Removes all characters except space and alphanumerics, and removes the ".notdef" glyph

  • Puts all glyphs in an easy-to-read file, out.png

  • Packs glyphs tightly into tex.png, which consists of one or more 64x64 sections

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL