Skip to main content

BDF2MCPack

BDF2MCPack is a CLI application to convert a BDF type font file to a resource pack for Minecraft.
The application requires Python 3.7 or above.

Installation

Windows, Linux and MacOS

Use pip to install the module.

pip install bdf2mcpack

Make sure that the executable file (bdf2mcpack.exe or bdf2mcpack) is installed under a directory which is set in the PATH environment variable.

Usage

Help Message

usage: bdf2mcpack [-h] [-o output] [--format FORMAT] [--description DESCRIPTION]
                  [--compresslevel {0,1,2,3,4,5,6,7,8,9}] [--range [RANGE ...]]
                  input

Creates a resource pack for Minecraftfrom a BDF type file.

positional arguments:
  input                 The filename of the BDF file to load

options:
  -h, --help            show this help message and exit
  -o output             The Filename of the resource pack to create (default:
                        pack.zip)
  --format FORMAT, -f FORMAT
                        The value to set as pack.pack_format in pack.mcmeta
                        (default: 18)
  --description DESCRIPTION, -d DESCRIPTION
                        The text to set as pack.description in pack.mcmeta
                        (default: "Generated by bdf2mcpack")
  --compresslevel {0,1,2,3,4,5,6,7,8,9}, -c {0,1,2,3,4,5,6,7,8,9}
                        The compression level used when writing the output file
                        (default: 6)
  --range [RANGE ...], -r [RANGE ...]
                        The Unicode codepoint range to use. Accepts decimal or
                        hexadecimal expressions of codepoints. Case insensitive.
                        e.g. 0-127 U+100000-U+10FFFF

Example

This example downloads Unifont Japanese BDF Version, and creates a resource pack to replace ideographic Chinese Characters with Japanese Kanji.

curl -O https://unifoundry.com/pub/unifont/unifont-15.1.04/font-builds/unifont_jp-15.1.04.bdf.gz
gunzip unifont_jp-15.1.04.bdf.gz
bdf2mcpack unifont_jp-15.1.04.bdf -o kanji.zip -r U+4E00-U+9FFF

Used Libraries

License

This program is distributed under Apache-2.0 license.

Metadata

Release files for bdf2mcpack 0.1.1

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

Source distribution (sdist)

Source distribution for bdf2mcpack 0.1.1
File Size Uploaded Provenance
bdf2mcpack-0.1.1.tar.gz 12.3 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 22.3 kB

Release files / bdf2mcpack-0.1.1.tar.gz

Download URL bdf2mcpack-0.1.1.tar.gz
Size 12.3 kB
Tags Source
SHA-256 checksum
How to use checksums
640ca3c1f7683bf06e7c2a2edda7b0d91a5019325220d23181f262e476349fc8
BLAKE2b-256 checksum
How to use checksums
7ce52440f28c789865af777e6e1cba858465411a5d183974cc79030a51e56203
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.1

Release files / bdf2mcpack-0.1.1-py3-none-any.whl

Download URL bdf2mcpack-0.1.1-py3-none-any.whl
Size 10.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
552c850cb8cd2b14fa7c39053390af9249127522ed91f599e94753baaa4de0dd
BLAKE2b-256 checksum
How to use checksums
6cfe193124fc95828f1db18752439d61bac4449dfba3e401e0496360657969e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.1

Security for bdf2mcpack 0.1.1

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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