Skip to main content

Command line tool to render text from NDS .NFTR fonts.

Project description

NDS Text Generator

Command line tool to render text from NDS .NFTR fonts.

Run from pip

pip install ndstextgen
ndstextgen --help

Run from source

Install pipenv.
pipenv install
pipenv run ndstextgen --help

Usage

ndstextgen <options> FONT "TEXT"
Example: ndstextgen --color red font.NFTR "Print multiline\nred text."
FONT: (Required) Filename of the font, .NFTR extension can be omitted.
TEXT: (Required) Text to write. "\n" can be used for a line break.
--out <file>: Output file. Default: text.png
--vert <int>: Vertical spacing between lines. Default: 2
--fw <int>: Use a fixed width instead of the VWF values in the font.
--color <text>: Color to apply to the font. Default: black
--size <int>: Maximum width/height for the generated image. Default: 512

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ndstextgen-1.0.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

ndstextgen-1.0.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file ndstextgen-1.0.0.tar.gz.

File metadata

  • Download URL: ndstextgen-1.0.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for ndstextgen-1.0.0.tar.gz
Algorithm Hash digest
SHA256 be7f8a889aa2ea349b5de4db6e116e266f8adc94c1f9ebc69fa73c3d3fa9bbe8
MD5 b423980fd8cde52d378634fd2ee4f5f4
BLAKE2b-256 fc1c6120ceab9c54445b5d5c0b0d65c41047f53f2591327c7c9f5a6929154576

See more details on using hashes here.

File details

Details for the file ndstextgen-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: ndstextgen-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for ndstextgen-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 33e0bc4d8c3bf9e951397ee8b05e3819e768945b6e2c9f3a4d52ebf146a4ac38
MD5 215aa965d362f68d72c50ab7c47efacb
BLAKE2b-256 f8a3a1ddac39605c7bdc1b5cfcefb3554aa25136c5f37651b525ad4875f505ee

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page