command
Version:
v0.0.0-...-912d621
Opens a new window with list of versions in this module.
Published: May 31, 2022
License: MPL-2.0
Opens a new window with license information.
Imports: 23
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
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
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.