Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

NICO Font Tool - Python

Python PyPI

A tool for converting fonts to NICO Game Framework format fonts.

This is the Python version. The Nim version see: nico-font-tool.

Installation

pip install nico-font-tool

Usage

Command

Use nicofont -h to learn more.

nicofont assets/fonts/quan/quan.ttf build/demo quan --font_size 8

Scripts

See: demo

import nico_font_tool

sheet_data, alphabet = nico_font_tool.create_sheet(
    font_file_path='your/font/file/path.ttf', 
    font_size=8,
)

nico_font_tool.save_palette_png(sheet_data, 'outputs/palette/dir', 'outputs_name')
nico_font_tool.save_dat_file(alphabet, 'outputs/palette/dir', 'outputs_name')
    
nico_font_tool.save_rgba_png(sheet_data, 'outputs/rgba/dir', 'outputs_name')
nico_font_tool.save_dat_file(alphabet, 'outputs/rgba/dir', 'outputs_name')

Dependencies

License

Under the MIT license.

Metadata

Release files for nico-font-tool 0.0.6

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

Source distribution (sdist)

Source distribution for nico-font-tool 0.0.6
File Size Uploaded Provenance Actions
nico-font-tool-0.0.6.tar.gz 6.5 kB Without provenance Details for nico-font-tool-0.0.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nico-font-tool 0.0.6
File Interpreter ABI Platform Actions
nico_font_tool-0.0.6-py3-none-any.whl Python 3 none any Details for nico_font_tool-0.0.6-py3-none-any.whl

Total release size: 14.2 kB

Release files / nico-font-tool-0.0.6.tar.gz

Download URL nico-font-tool-0.0.6.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
1482e243928f081053d317d407019714663716d97a9ed5f2790a2d0e3830d721
BLAKE2b-256 checksum
How to use checksums
2f3006c486574e5d2af6b44eb30ac676e4590a059b0e94a138272b6f959b5b4c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / nico_font_tool-0.0.6-py3-none-any.whl

Download URL nico_font_tool-0.0.6-py3-none-any.whl
Size 7.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9309ac481468ead22210aef023be916ec8dbbab494e581bbd1c44d8df6cf2064
BLAKE2b-256 checksum
How to use checksums
94f1a6b43f7e08d9b7b3655f3a25e46be8ca65cdf1883caaefee3cc278f4b91e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Security for nico-font-tool 0.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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