vpype ttf plugin
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vpype_ttf-0.0.7.tar.gz.
File metadata
- Download URL: vpype_ttf-0.0.7.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ede3c265d0ec7b088fd2ee759d96184f9c4a1f33aa4628501e2e975a331006d
|
|
| MD5 |
434dde8c0ec3b0bd069424455d737441
|
|
| BLAKE2b-256 |
52b5c6e52867e47abf5654d376d1df518fad22e092ece124c98e2a654772489b
|
File details
Details for the file vpype_ttf-0.0.7-py3-none-any.whl.
File metadata
- Download URL: vpype_ttf-0.0.7-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87fb2ba950e4cb25f5d1e89a4d519909f23261f4f4f79c7bca1a401c32b538e3
|
|
| MD5 |
09d9c7d9b760b92a6e027a083c7a69d0
|
|
| BLAKE2b-256 |
7ecefc813b8ae61e179453bf30fc13b9f973eae412257cef5165569cb5678020
|