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.2-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 026dc6ded6df3361b549d5013d0ebe672a6ed1e4c77b7a2818226aaea3e5702e |
|
MD5 | 81e654f05b840070d9da22be3af828e8 |
|
BLAKE2b-256 | d4a6b5dec54c7cd8842511e02e0c9475212f75764fc454c0bab985004d9cf566 |
Hashes for vttcompilepy-0.0.1.2-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c2090ebce4a0ac5b83457a9cbbeb419935739f594ae0fb74ced3dc139ccd882 |
|
MD5 | ede6ffabc4cf2e4cab60a43167579071 |
|
BLAKE2b-256 | a857cee41609eb2b95dec8291eac8740fc9cbdae85f9b26a9e7a7bc32095f336 |
Hashes for vttcompilepy-0.0.1.2-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f180bd545409143c02a34d58bb42eb85b6c1f2e60ceba2a07bafa3d0960f22a |
|
MD5 | aee6cc62e4b471358973c88607d2e3bd |
|
BLAKE2b-256 | 038ce353666f6fdb32296aab66e4590f738fb6c4f27e177acc9369c36d9a7d8d |
Hashes for vttcompilepy-0.0.1.2-cp310-cp310-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f74046f565d9175304980cf4f4266b1c118ad83c850752e283d54bccdbac157e |
|
MD5 | 526fa394bad5eacb61643cf1029afc79 |
|
BLAKE2b-256 | 48d67aae628c6a3b25582c7b73b16c2d0ca5317b605d5db6b920092e1b38686c |
Hashes for vttcompilepy-0.0.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a14133004e0800dc1654b8cdb1b2e75b70c03f5a1819faf6b9e7aa8c4a8a539 |
|
MD5 | 82c2801ab0f59a09e7e1308adde51f96 |
|
BLAKE2b-256 | 675e367622d07d1fcd1fff1e5051cb99a742324216ba93c056d17d658f61747a |
Hashes for vttcompilepy-0.0.1.2-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87b63764be0179a834bc990d8aab3a0132b9b2314ae0a888c8ab31950d1519a1 |
|
MD5 | f55d550ba44db8ca41af8fbbe86afa18 |
|
BLAKE2b-256 | f2b45c798c64bd7b274ed078512ed627c1489a6dc1c87d999da598eaadf2f34b |
Hashes for vttcompilepy-0.0.1.2-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ba798fb1a17be4881f365c1c014ba393a3c3c1b8f542e0dd04d744c0156cad7 |
|
MD5 | cae6f192479f9c6b0a4c6284f673371e |
|
BLAKE2b-256 | 3a12cadece06a98f22017b984c24e305a0cf5069a2b2a3e73f9f4a0f8d83b4e9 |
Hashes for vttcompilepy-0.0.1.2-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88e2c203c59d96a37f3991a870779af07d241404d7e20010b43f7eb8dfa8a1c2 |
|
MD5 | 7aa3a0e9e9827ce2819e6ab3f6b18334 |
|
BLAKE2b-256 | 0296ef5cca9466f1b0dbbf823cf90209c14109ed109c0b1321d0b3b86684e5af |
Hashes for vttcompilepy-0.0.1.2-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2006427a8763d249b418d5e35854eb0928e6c51fc723caa37129c5d679a34098 |
|
MD5 | 1a2cc37fb0f97105418145533523af81 |
|
BLAKE2b-256 | 88758d0f091457dbf3545bfef760f56d2b22bc1f1789556c1fd6bedaba064147 |
Hashes for vttcompilepy-0.0.1.2-cp39-cp39-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e615359cc1e7ffaa98406904e5609dc22d0facfc1a0968a87fe6a80576e2e72 |
|
MD5 | 7af421e9681e11515766716fa6b0239a |
|
BLAKE2b-256 | ab86f878e50dd773fa3bdda5d595e77ee7a51277ad0453e907edb91224eee1db |
Hashes for vttcompilepy-0.0.1.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71c3e86659494c5e894f090312ef07c3ba177730808dbe770b1b86cd34fffa24 |
|
MD5 | 5e3a63a9fb6b7a231c6bd59af07db3ae |
|
BLAKE2b-256 | b2a2d68f7ef732250bf1e5497b32ee5fbc197ca91977ee5a0f2d042c864b133a |
Hashes for vttcompilepy-0.0.1.2-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0593da520bac5d6000fe509727aec00ecb8d407c4c95455e8b54c10d48bffcee |
|
MD5 | 0bdcccf9e9a93eff823573cafc88d418 |
|
BLAKE2b-256 | 928c76684cc4d9a53968a68a787db96f68cd1377663c8e87c1179c00d5dc1268 |
Hashes for vttcompilepy-0.0.1.2-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5298561eeb4ad882d0e9a57ef43384feca5e99a0d28580d2b3ee439db9290c22 |
|
MD5 | fe56b8157d664286cacdd7357e50d701 |
|
BLAKE2b-256 | 80ee0b17c91b05198b13099812601c0fdd40a97b6d21adcd4f2fc9ee204069ed |
Hashes for vttcompilepy-0.0.1.2-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 114186a8cfe35b4bd2445ff16fced3e06365fdf44ff894dc696d1ed55e3a875f |
|
MD5 | 5844aafa9f865ca6bb56e9fe812ca350 |
|
BLAKE2b-256 | bdcaec5bde84dff105bca3fde5a1bb12579577e6b43d51f27487de59dc7d9810 |
Hashes for vttcompilepy-0.0.1.2-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a05ae32e12afa11ddd602b394dbb2fbf2cc3753fc160382be5766309b984b46 |
|
MD5 | 15d3bcf43cdf47a23fb5ec2bd084d5c0 |
|
BLAKE2b-256 | a5166e95aef6d2acef75ff6591674170159a40708375df57cdd28a2d9d04de27 |
Hashes for vttcompilepy-0.0.1.2-cp38-cp38-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91970e6e07f2c3acf53b18cacca893c3d2100ee217a594cc4bf10ec0d56486da |
|
MD5 | 008dabd2a9014c3cb7a434bac9f0b17f |
|
BLAKE2b-256 | 814e45a8b6e3e2b251cbe05c810045a2fef0fed81d7ffb40a2b6abc1a3561006 |
Hashes for vttcompilepy-0.0.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4e7965ef64440f99b60c4d7a5776e0e66fef5d94ce2aa83c4d2fcfbf975f58b |
|
MD5 | 47eb3ca34e6e3786c2910545cd55f21d |
|
BLAKE2b-256 | 3fd2745ad7b5eb1dbfb28b7a6e7c9b75f0b9c3f535f7ad1c6d8ab182811d0fd5 |
Hashes for vttcompilepy-0.0.1.2-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49e000c473b2dc9c69062ff9aefb253ff086eca5dabff45e0fb03ae52ea9687b |
|
MD5 | 5f0b6019982eb995fcfbe43529be4127 |
|
BLAKE2b-256 | 044047f923d81f560fa8f999b582471184d8b77c33c1ea6410f429bd5c234f4f |
Hashes for vttcompilepy-0.0.1.2-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95a392662e8904d243fe89826f833b6f0ae408011341b8fbf940dd41da71f664 |
|
MD5 | 188d680564d26c213952353524a23a56 |
|
BLAKE2b-256 | 54a49a93ad2d6b9c912d8ff26d756aa83925406b6f937a0d9da6074bff452bb1 |
Hashes for vttcompilepy-0.0.1.2-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4dfc26ffaeaba8a1804ea0502977fe7f594347d593a718f5cd4b8d36ac5b512 |
|
MD5 | 1f39a95582f7ed3ae659739d6a8ccbe8 |
|
BLAKE2b-256 | c5f0e928cec7dc8ed074a5fc363fb41ebeaf9d6843ace23488c54aee0041d60a |
Hashes for vttcompilepy-0.0.1.2-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ea5015fa77983f430a94365566ad55ff105948bcb48713ccdaef740c358bdf3 |
|
MD5 | 4f5def8c49afbabdea7a3805aa350472 |
|
BLAKE2b-256 | e1f6d6fe3104267f64deab910260a498a467cd5bea2c8a8041964ebb51da8dc0 |
Hashes for vttcompilepy-0.0.1.2-cp37-cp37m-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2cc1da2a03a85244a03f681972ac6209f4d1920717150ec68c8bcc36380588a2 |
|
MD5 | de7cf17ac6d8b2be6296694bce438572 |
|
BLAKE2b-256 | b3476588010c851946fd553249e99c8618554cab1b4775ab3da7788107240831 |
Hashes for vttcompilepy-0.0.1.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76f84899d82ed3dc545745ecb1bb7eab04b7869ccd3101b7da62f4ffb0eccf1c |
|
MD5 | c82a8dba62a369c3646b189a8f817bc2 |
|
BLAKE2b-256 | ae4402276f1e44acaea2e9a9d44be8c9b1edc92cd1085b8d369eac8f034cf35a |
Hashes for vttcompilepy-0.0.1.2-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39a592377811f1f8e6a68d192ca0ce0c3030361b3477cbb63c122fa901bd14c6 |
|
MD5 | 1d3f70b08e475527b5e7addafc617a4d |
|
BLAKE2b-256 | 11d4d31c1d26f9f77040d7c32a795adfb77f05dfceb76a0782de2c56a6bd5dd5 |