vpype-ttf
Vpype plugin for using True Type fonts for text.
For vpype, see: https://github.com/abey79/vpype
ftext
A shortening of "font text", this command accepts the required arguments of a path to a TrueType, and a string of text to render, and an optional argument of the text size, and adds the rendered text lines to the document in the pipeline.
Installation
- Install repository:
pip install vpype-ttf
Usage
Have font file specified, eg:
vpype ftext /usr/share/fonts/truetype/open-sans/OpenSans-Bold.ttf "vpype-ttf" show
Options
vpype-ttf currently supports font scaling with the -s or --size option.
vpype ftext -s 10cm /usr/share/fonts/truetype/open-sans/OpenSans-Bold.ttf "vpype!" show
Contributing
Thanks to Tatarize for creating this plugin in the first place. If you would like to contribute and expand vpype-ttf, bug reports, feature requests, and issues are welcome.
Metadata
Release files for vpype-ttf 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| vpype_ttf-0.0.7.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vpype_ttf-0.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.8 kB
Release files / vpype_ttf-0.0.7.tar.gz
| Download URL | vpype_ttf-0.0.7.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0ede3c265d0ec7b088fd2ee759d96184f9c4a1f33aa4628501e2e975a331006d
|
|
BLAKE2b-256 checksum How to use checksums |
52b5c6e52867e47abf5654d376d1df518fad22e092ece124c98e2a654772489b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Release files / vpype_ttf-0.0.7-py3-none-any.whl
| Download URL | vpype_ttf-0.0.7-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
87fb2ba950e4cb25f5d1e89a4d519909f23261f4f4f79c7bca1a401c32b538e3
|
|
BLAKE2b-256 checksum How to use checksums |
7ecefc813b8ae61e179453bf30fc13b9f973eae412257cef5165569cb5678020
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|