Python extension for Visual TrueType font compile.
Project description
Project
VTTCompilePy is a Python extension built using Cython. It provides streamlined bindings for various compilers from Visual TrueType.
VTTCompilePy was developed to support a Python based font development environment. In addition to the Python interface, a command line interface is also installed. Usage is available with "vttcompilepy --help".
Example
import sys
from pathlib import Path
import vttcompilepy as vtt
TESTDATA = Path(__file__).parent / "data"
IN_PATH = TESTDATA / "selawik-variable.ttf"
OUT_PATH = TESTDATA / "out.ttf"
print(bytes(IN_PATH))
print('VTTCompilePy Test Client')
compiler = vtt.Compiler(IN_PATH)
compiler.compile_all()
compiler.save_font(OUT_PATH, vtt.StripLevel.STRIP_NOTHING)
Trademarks
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.
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 Distributions
Hashes for vttcompilepy-0.0.1.4-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ec82e6f2182fb70e2869bf4441f8c3f5d78f7143c436a3f6e09050da4cdb935 |
|
MD5 | 3a9b0f854e3752c8ff6ca16ed6a8fe61 |
|
BLAKE2b-256 | 1c213467da7bbc35b3806370e5118f5aa23da02a50e6b67d0d683dc086274cdc |
Hashes for vttcompilepy-0.0.1.4-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78632ee86a3bda69a0879db03812662d89d9c602a86046277f5dddba942c79b8 |
|
MD5 | 276b23524c68c6b56ea5b28a2773e517 |
|
BLAKE2b-256 | f54b4f34b3ad4e34e8b03547b8dac52702d841335c0ef1eda5dbba521339dbe7 |
Hashes for vttcompilepy-0.0.1.4-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6420ac2c68787c935fe76eedb96e2d4939ae64b28a01437ab0622b9a2d66f8df |
|
MD5 | c9958d640c6aa57378d0e5f1bbea8b9b |
|
BLAKE2b-256 | 4d3c4e97fb5c9d7723535e67898181b695b742a2305be57202cee74086324362 |
Hashes for vttcompilepy-0.0.1.4-cp310-cp310-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32f638b8c405d180ad8ab2fef35400082fd18cde753b38c07d6f4744a37a4939 |
|
MD5 | 0a0aeecfd11f0ca6625797eac09485a4 |
|
BLAKE2b-256 | b9a2a31d70d7a276d8d21d1e9d7fea8581bba79f3a223366189b6f4d9eb00c52 |
Hashes for vttcompilepy-0.0.1.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c8b6dc2b7d49360b086f7aa9f3af42cf1f7c106a17ccf78a677fd6cb77ffdf8 |
|
MD5 | c271fe6928ec30324f8985e18bf7221a |
|
BLAKE2b-256 | c0d0f63f9b6902bbd4bcc4f029cb892d0b04820f1a253f5b7668bb2b80c250d5 |
Hashes for vttcompilepy-0.0.1.4-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b51ff82716e7cf577bca24139f8602573e82a9ee4e5c2375ce348d19623c824 |
|
MD5 | dbf5ecacff3e7e696b47d1ac2ea3a8ed |
|
BLAKE2b-256 | 4e16c2188923794423e2269ad10e44e69af59433b81b755e9cedeac5270401c9 |
Hashes for vttcompilepy-0.0.1.4-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a462a90fc8bb18cdffae60d711c1a64dcd313f99f5f4e1f2ad4e09cf69c21961 |
|
MD5 | 6fbd07fe2aefa9a84b24805d42f8c16b |
|
BLAKE2b-256 | 69699925384721826b43e90063478b2edcf4cd9605ba4b51adc50c2ea04270fb |
Hashes for vttcompilepy-0.0.1.4-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0b767d44195f4fa9ccce96bfda08f951ef6142324b7d09ea6a13a7057f982ff |
|
MD5 | 70af5ae49bced79e814f95ec7ec399ad |
|
BLAKE2b-256 | 3e59fac2b8166a586e18d0b5f0aef304b246279617bb960cc7bb5a656bdf0b12 |
Hashes for vttcompilepy-0.0.1.4-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c1559e214d9db88a0bf20fc8f437e2aca61dffa4bdfcd6cb4b11614a991d8ae |
|
MD5 | f68a3b99664fcf88c4ecbbed557c64ed |
|
BLAKE2b-256 | f2e91be1adfd96d446f4628deea474909e31f3bcf713e880d083d788c715ed33 |
Hashes for vttcompilepy-0.0.1.4-cp39-cp39-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da2d44ee5e64d19a77532e1da273fab3348e4d12e36f32fe32cae5ce18c137d9 |
|
MD5 | 333ab91f0461c4be74aca14afafdea3b |
|
BLAKE2b-256 | d9c33465a909b5bb697adf3de9622e130e94426c8b6bd03842de5b86b321e609 |
Hashes for vttcompilepy-0.0.1.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5ef3b7023438b978b87e04ef622f259100763493ca1797db17af6e8b2c03292 |
|
MD5 | 1f7c49110c2a2d5f6553876806230b72 |
|
BLAKE2b-256 | 461cc8c41a4710893dce1dd970d60f3f543f36cf74e06b6410424d479e17d7aa |
Hashes for vttcompilepy-0.0.1.4-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fde4ea1303c8961a7f36eabff6103a043230db925c394aa015606cd4643c4b00 |
|
MD5 | 15f82d855f5d34c2890aa4c4c7b1c89a |
|
BLAKE2b-256 | c6a0cc6710f49b83fd2c87623f833cf6157633378ee1f59af6c6e1d4bdca8c63 |
Hashes for vttcompilepy-0.0.1.4-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f4184c49e7d87df536a69aa4ff6db23737b95463905854e4177aca9a3ce8470 |
|
MD5 | bd515e64fbb63d585fb42610c60b5100 |
|
BLAKE2b-256 | 1f0b20d010cd2fe5a783a98a21332facca9657f5ddcc3cb2fb723e075aa724ea |
Hashes for vttcompilepy-0.0.1.4-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 045bd49f017c47c204b4e9d6a907b6cfecee41d3dc0c5db67fa4fb92028ec445 |
|
MD5 | 1e761f921aaa326b43f03506013c61ca |
|
BLAKE2b-256 | 286a6cd694f19d72d35faf077d8701cb9886e648b500f78f09940094ce9db56e |
Hashes for vttcompilepy-0.0.1.4-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 475302157674d270ee366e46fe034c0a7dd74c806e71fdd01bfe6675e9a21ef8 |
|
MD5 | b79faacfa6fa4886d8c53c66f488a47b |
|
BLAKE2b-256 | 303cd7fc024c025343edb351bcd04528abd2b8a7db1454b9d469618876252019 |
Hashes for vttcompilepy-0.0.1.4-cp38-cp38-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed4c66e1601599585cde1f894331066b301128cb0ddd7a2d0e254704121e68d9 |
|
MD5 | 51710f77469d733a657316b92cc32f7d |
|
BLAKE2b-256 | 9197a614f3681e7d0195bb70d040a64f356b1703c9884661be87bcf6ace22649 |
Hashes for vttcompilepy-0.0.1.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46c3d87326745ad88d2e8b88451c99f735ebcf07dcfd4c4f07822f58175f963b |
|
MD5 | 28f0bf5fefd03e4856b0cf8d2762076c |
|
BLAKE2b-256 | 767cca778bbe1fd182556337fb1f34a24ea20171acdea92f05507458f61338e5 |
Hashes for vttcompilepy-0.0.1.4-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 833f8e0df0d71ac9b73f3d279e7a402e932f242758e168fd5a54f0f52196473f |
|
MD5 | c009734b96fbcf85c95b06080160d873 |
|
BLAKE2b-256 | 79bf5693233ebd1db18e45d7cd89a32728f2c0a063c07f65a4b74514063cd37f |
Hashes for vttcompilepy-0.0.1.4-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac27982cbed9e3953858b763897e8b17aadc2038a5623992e8804b48209fdea1 |
|
MD5 | 4363232d6856c02c1dd0e124f3d69894 |
|
BLAKE2b-256 | 050d4b86e9a558ccfaeb1e38e99d3f8d0bd9b42e28e4cb30da3fd210c79eb9ef |
Hashes for vttcompilepy-0.0.1.4-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 382a6351987625f4ca4e053202b9d282783f516c4bdb574030a28a8b27a26c48 |
|
MD5 | 753e4d5ac250f62ebff083c3f5dd3712 |
|
BLAKE2b-256 | 0003045f03f7a113f7808e2d0e805ac1eae0de3d7aa35571096d2dc164eda7b8 |
Hashes for vttcompilepy-0.0.1.4-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ceefbd6397c8699cbf10c14bde0a40a81ed606877fdcd28b1f0cce6628ec404 |
|
MD5 | 57e5dce8550e3349bf0da574adccee74 |
|
BLAKE2b-256 | 201d905249fa50356581127c7ee79143c194a76d11bd02c8b1c7782cf6bbf867 |
Hashes for vttcompilepy-0.0.1.4-cp37-cp37m-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42e6a86d45b9278a8fc84b0fc7b4cf89d6213e0c7beff23d1eaba715167b1d52 |
|
MD5 | e47057c1fda7d63c6666af21c3093804 |
|
BLAKE2b-256 | d47e92ee5a9da972aa0dd686ac1dc3c42436cd782227e2afd7b6b6320a582cbc |
Hashes for vttcompilepy-0.0.1.4-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 236214d9d485a32059a1e8201b7216165483b4921947fdaa4c48abb5b9ea53ab |
|
MD5 | ce63bf204e21c8b97adf75a50ebeaa94 |
|
BLAKE2b-256 | 385e9fcb4893d0b395bd474a6b7c6ce9448ff8487dc563b7fee2836747f3bad0 |
Hashes for vttcompilepy-0.0.1.4-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a40d12b041659cab777b943de6cbdda31bdd41a15200148553b959815b0019c3 |
|
MD5 | aab5cae4a80fb613e5216aee3d1322b4 |
|
BLAKE2b-256 | df83175db91bde25c8a03543aacef46ca53366daccf8689d3896ffd01df1dc40 |