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.3-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea8d8b27c7f43a3e42cf96560a34f1f45f2a824f82ae6c104eb07d7c82a8b17d |
|
MD5 | 6308e984f3c71c0491794b51e11f5534 |
|
BLAKE2b-256 | 77274abdbd4cea65c4c67a275f0070c1640c773a2a4f83063a5ace1a9adedfe8 |
Hashes for vttcompilepy-0.0.1.3-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30f99d324cd95c39db1c50edfa1cf62c0c945a01cfc9a4ec761acd217ab51d52 |
|
MD5 | cfd2239f58014006bcdbe77bcbe36a94 |
|
BLAKE2b-256 | 9902f10f1abac25a4d728961275e775378c95d4e7da3ce8b1d8c254036e571e0 |
Hashes for vttcompilepy-0.0.1.3-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de1d5bc4fd3636a837253040fcdd403d7e06fddbfc1556a991ac4623e15b9dc5 |
|
MD5 | e8cec8b8068fe37386c75b6ae05813bf |
|
BLAKE2b-256 | d18967788ca5cc685b75fc4fb3bbf35689bfcac3dc18cda0f52032ae3acbe8f9 |
Hashes for vttcompilepy-0.0.1.3-cp310-cp310-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9e672c77b35818fb7db8fe276b0ae4d8aa1cd8514413ec31b685cec8a0def77 |
|
MD5 | 44e820ae05ebee97dcde20fb0d8c5d4c |
|
BLAKE2b-256 | 4150344efb7aff44ecd2baa1237a8d62bccfdc4db4bfbc06bc4417ac2b0208ca |
Hashes for vttcompilepy-0.0.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f377aa5270e4d29c5778681d92f9b22c303884cb4aa06fb4ef151c19f7b3f0f |
|
MD5 | 9d7a5e69004141e29c64b134638317f7 |
|
BLAKE2b-256 | dd1d3d06f55c5975e08fad744de17e61f3a2d3c1b6c8a55c7ea5e2c75a8f05da |
Hashes for vttcompilepy-0.0.1.3-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8885973fd071c7de58ec503af1ec746e14eb38ba255b9ee33a423fa5141b4e0 |
|
MD5 | 23bbb33e4a15fd0a88da86e903bdb373 |
|
BLAKE2b-256 | bd64f916da6f642369e63c1d7ce110018d4fe1e57a1d3ad9fdcb4532bf34b1ab |
Hashes for vttcompilepy-0.0.1.3-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79d53ed68a5a3ea32866c238882e8f3bc1c25e69d31012354729feb45822ef6e |
|
MD5 | cf4c9e3bb23089063b634d6f87591779 |
|
BLAKE2b-256 | adebc255c32a37351c307d5bab978c189696f2b6a72583549fd4ee047ec67f10 |
Hashes for vttcompilepy-0.0.1.3-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a04b1574d04d460591c29eb271810bebc4cf50ce18e6be825ed245f2cb00ab1e |
|
MD5 | 77a356ab16d29b4a9cba6ec7849a0939 |
|
BLAKE2b-256 | 61d92000dbbff262e582947b65bb2a63fffe92da4c206d4feaaa46fd6f3cf333 |
Hashes for vttcompilepy-0.0.1.3-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7311218f976dff38f6f234b8d40051c2b657c28db72cf3653b0e22a63f8fb92 |
|
MD5 | 16177dfd0d604c347a2227f5a89f9bf0 |
|
BLAKE2b-256 | 70eef480b1cedd1a92786e3046e5000f93362bbee0a1f00c1c54eb7312be7f37 |
Hashes for vttcompilepy-0.0.1.3-cp39-cp39-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 389ea08f9ee60542d9a3097b233b9a2496d6c4729fa667b754d9eda7a1cd36da |
|
MD5 | c1c6d5a6cff2383f16183552d6114b37 |
|
BLAKE2b-256 | 009b4d5bba151caa77c0f2e1dd0f14eb035eb1d2c37a5de5ff2f5a1589ed22d5 |
Hashes for vttcompilepy-0.0.1.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67ebaadaf033249bdf030b2453f0ddaa0f6d33cdd50966419cb48abeb517dce8 |
|
MD5 | cc415e65fce56de79ddf6564d98a1c18 |
|
BLAKE2b-256 | bbf6919b4ff7c27c3ab4345f6e7103d9b6706dc37f2b55b1dc62ff31a9c749c2 |
Hashes for vttcompilepy-0.0.1.3-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9e4d1d032614a78a53a06969cb6385365dbffec330e04b1a670752e8cbad579 |
|
MD5 | 59c399659547ffc466b4359763df6622 |
|
BLAKE2b-256 | 4caf3d11b158045dc811c5b8c19dc8209a2b0eb26565786e5d525111b3046373 |
Hashes for vttcompilepy-0.0.1.3-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73bbe67eb4535fbaafcb2f0dc57b7aac22f020773c597f7a15373bc4ba523982 |
|
MD5 | b5a65e69e07d3a96a5310e99b074ad36 |
|
BLAKE2b-256 | d61aa9da1e3a1ffc592370722383dd04aea5e84267aaad807838a74697360afc |
Hashes for vttcompilepy-0.0.1.3-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6868953d482783e70fbfac229919a1b96b66d8c3bb142b2393b010370446f970 |
|
MD5 | 688283346930ae1e085e0b7c1f2a9e2f |
|
BLAKE2b-256 | 10b85cc46bdd8cc16325723cc39e084a7467d75070db1c397de0c8d2626958d9 |
Hashes for vttcompilepy-0.0.1.3-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c408241026f489988e12d76d1c59ce8d2cdda71f5d58842ea24bbc423b73053 |
|
MD5 | 97e01db3044a2248a31960c0a1bbf72c |
|
BLAKE2b-256 | 055a9f20bb3df64027c66cc27be1471b0abb9333ea3add241a0bfa4734cbd375 |
Hashes for vttcompilepy-0.0.1.3-cp38-cp38-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02ce8b4ba9164813762e168eaa184348a8408267f40987b4c9616c9096d5b64e |
|
MD5 | 3bb995b9412d7659698b24640ffc9b2d |
|
BLAKE2b-256 | 2c7a2a0a570a4be9190c470dc69b2b13bba2139c1ff28d594455dbacb27d3bd3 |
Hashes for vttcompilepy-0.0.1.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c767d46180978dcd81206d70582d3fe8b9cefb053a82d56e0c8b11440d4897c |
|
MD5 | eb5b848a7caa4a83f9e215f7173e8268 |
|
BLAKE2b-256 | bede40636c0192b54d1650e57645d9f4583746fb88f2c29de8581401d67ca4ee |
Hashes for vttcompilepy-0.0.1.3-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10301798d48c07c92317b410b69d9d9d2fff54ed5ba099357cc5a0547e887a01 |
|
MD5 | 4beed7bb996311f3c51d6b9974830bea |
|
BLAKE2b-256 | 559eb03845948aae1330206d800d43c1a838205e9d98ec49f49ecea1dfcb1a33 |
Hashes for vttcompilepy-0.0.1.3-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f73084b08540eb7bff2ce0f181e2c605c1df34b9bc53bd807f023ca8073fbb6f |
|
MD5 | 03177dfaa0632b73dcd0f3eec74bacbb |
|
BLAKE2b-256 | 8ba16bfb48832dde08d25ebb33ea101507ef25ad5c318c9e474ff704fb6fa969 |
Hashes for vttcompilepy-0.0.1.3-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7d48a46fd2136da2ef89d4565d2374377b07b7c6d28eaaa81e858aade9bb61c |
|
MD5 | 8bcb6a6a95931454aa2857f4094dee60 |
|
BLAKE2b-256 | 9853400c636d36d9ea921d0a2f04d390c46e226f379ce76760e3574af40c7ee6 |
Hashes for vttcompilepy-0.0.1.3-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7644cb4c90dfdeaa21c9700caf3e3ff361962935e74b442e1bb64650d70ef419 |
|
MD5 | 0bd74513469e0f5e8d3036a6fba1f651 |
|
BLAKE2b-256 | 92c2a8db1f281204df080b2c4aae93de90dee85ba202af1b4bd4145732835d46 |
Hashes for vttcompilepy-0.0.1.3-cp37-cp37m-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06e12d96b7c5fdefbd1550a75352abecbdcd80aede165f38cc37cfbd13a771b0 |
|
MD5 | 9d4a7eddbd04e034edbb551fe31e23b0 |
|
BLAKE2b-256 | 6cce2abd20e306ea32c4b900df92d3f130d4dea3acc7ee2d8c55607af4fda8e8 |
Hashes for vttcompilepy-0.0.1.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8668197a35dd73feb4a398644b2be8ebde4ad3613660e142311835f6cd73315b |
|
MD5 | a41d9adb2c7ec4db7a01c67cc85390b8 |
|
BLAKE2b-256 | e902bec77aceed239a0f768f25266ba9a7b2556cbb0cc2961c5198e56bfdb446 |
Hashes for vttcompilepy-0.0.1.3-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd3c713b9d5c5c4fcae4c01a2335f9a27df2f7d3dd0ee967382c0b693813f124 |
|
MD5 | 1881888efa6b059fe35463444bc45019 |
|
BLAKE2b-256 | 5d857ec3518e1395563b61d7de1f3bee2489d18af4937b2c53441b2d36d7e74d |