Skip to content

Overview OTOS Utils

Available Packages: - Font Generator

The packages are briefly described in the following:

Font Generator

The font generator tool can be used to convert TrueType fonts to bitmaps which can be used by the Graphics Library of OTOS. Here is the the output of run_font_converter.py -h:

usage: run_font_generator.py [-h] --font FONT --size SIZE [SIZE ...] --output
                             OUTPUT [--version]

Generate font files for the OTOS Graphics library.

optional arguments:
  -h, --help            show this help message and exit
  --font FONT, -f FONT  Path or Name of the font file.
  --size SIZE [SIZE ...], -s SIZE [SIZE ...]
                        Size(s) of the font in pixels.
  --output OUTPUT, -o OUTPUT
                        Path to the output file.
  --version, -v         show program's version number and exit