vbf
a visual bitmap font format. you can edit a .vbf font with a text editor like its ASCII art (recommend you use a monospaced font with a 2:1 ratio)
uppercase alpha is very
similar to uppercase A
so lets use the same
for both +------------------+
+------------------+ | U+0|
| U+0041, U+0391 | |042,U+0392 |
|------------------| |------------------| +------------+
| | | | | U+0044 |
| XXXXXX | | XXXXXXXXXX | |------------|
| XX XX | | XX XX | | XXXX |
| XX XX | | XX XX | | XX XX |
| XX XX | | XX XX | | XX XX |
| XX XX | | XX XX | | XX XX |
| XX XX | | XX XX | | XX XX |
| XXXXXXXXXXXXXX | | XXXXXXXXXX | | XX XX |
| XX XX | | XX XX | | XX XX |
| XX XX | | XX XX | | XXXX |
| XX XX | | XX XX | +------------+
| XX XX | | XX XX | "daa.. why is D smaller?"
| XX XX | | XX XX | for the sake of example.
| XX XX | | XXXXXXXXXX | thats why.
| | | |
+------------------+ +------------------+
glyphs are defined in floating boxes drawn with + - |. everything not in a box is ignored. pixels are drawn two characters wide: or XX
each glyph is mapped to one or more unicode sequences (a series of U+XXXX codepoints) separated by commas. whitespace in the header box is ignored.
converting to/from psf
install the two conversion tools:
pip install vbftools
convert to/from .psf:
psf2vbf < font.psf > font.vbf
vbf2psf < font.vbf > font.psf
(note: psf requires that all glyphs are the same size)
load a psf font: setfont font.psf
show the current font: showconsolefont
compress a font: gzip font.psf
decompress a font: gunzip font.psf.gz
find fonts: man setfont
convert from bdf (using psftools): bdf2psf font.bdf
convert to bdf (using console-setup): psf2bdf font.psf
Metadata
Release files for vbftools 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vbftools-0.1.1.tar.gz | 65.3 kB | Without provenance | Details for vbftools-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vbftools-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for vbftools-0.1.1-py3-none-any.whl |
Total release size: 70.4 kB
Release files / vbftools-0.1.1.tar.gz
| Download URL | vbftools-0.1.1.tar.gz |
|---|---|
| Size | 65.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cbf8dbfc385446ad7e71b3b143be2ba45910f863a9f33202af7543a478bd9c6d
|
|
BLAKE2b-256 checksum How to use checksums |
a4eebbee7616ac868fd47b00eaf34f20fa8f364cb834072ba548e91539b73580
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.5
|
Release files / vbftools-0.1.1-py3-none-any.whl
| Download URL | vbftools-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
68277fb7a7251baef2c7cc9d322a6e6266e6913977ebd566a14489a056390faf
|
|
BLAKE2b-256 checksum How to use checksums |
d95f8dd4001e5369cb0a68e7e4d700bc68e5d0bba513c07f110297abbaf8f110
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.5
|
Security for vbftools 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.