Skip to main content

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

Release files for ndstextgen 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ndstextgen 1.0.0
File Size Uploaded
ndstextgen-1.0.0.tar.gz 2.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ndstextgen 1.0.0
File Interpreter ABI Platform
ndstextgen-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size:6.8 kB

Release files / ndstextgen-1.0.0.tar.gz

Download URL ndstextgen-1.0.0.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
be7f8a889aa2ea349b5de4db6e116e266f8adc94c1f9ebc69fa73c3d3fa9bbe8
BLAKE2b-256 checksum
How to use checksums
fc1c6120ceab9c54445b5d5c0b0d65c41047f53f2591327c7c9f5a6929154576
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / ndstextgen-1.0.0-py3-none-any.whl

Download URL ndstextgen-1.0.0-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
33e0bc4d8c3bf9e951397ee8b05e3819e768945b6e2c9f3a4d52ebf146a4ac38
BLAKE2b-256 checksum
How to use checksums
f8a3a1ddac39605c7bdc1b5cfcefb3554aa25136c5f37651b525ad4875f505ee
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

1.7.5

1 release file

1.7.4

1 release file

1.7.3

1 release file

1.7.2

1 release file

1.7.1

1 release file

1.7.0

1 release file

1.6.0

1 release file

1.5.0

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.1

2 release files

1.1.0

2 release files

1.0.1

2 release files

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page