Streamlined Cython bindings for the harfbuzz shaping engine
Project description
uharfbuzz
Streamlined Cython bindings for the HarfBuzz shaping engine.
Example
import sys
import uharfbuzz as hb
fontfile = sys.argv[1]
text = sys.argv[2]
blob = hb.Blob.from_file_path(fontfile)
face = hb.Face(blob)
font = hb.Font(face)
buf = hb.Buffer()
buf.add_str(text)
buf.guess_segment_properties()
features = {"kern": True, "liga": True}
hb.shape(font, buf, features)
infos = buf.glyph_infos
positions = buf.glyph_positions
for info, pos in zip(infos, positions):
gid = info.codepoint
cluster = info.cluster
x_advance = pos.x_advance
x_offset = pos.x_offset
y_offset = pos.y_offset
print(f"gid{gid}={cluster}@{x_advance},{x_offset}+{y_offset}")
How to make a release
Use git tag -a
to make a new annotated tag, or git tag -s
for a GPG-signed annotated tag, if you prefer.
Name the new tag with with a leading ‘v’ followed by three MAJOR.MINOR.PATCH digits, like in semantic versioning. Look at the existing tags for examples.
In the tag message write some short release notes describing the changes since the previous tag. The subject line will be the release name and the message body will be the release notes.
Finally, push the tag to the remote repository (e.g. assuming upstream is called origin):
$ git push origin v0.4.3
This will trigger the CI to build the distribution packages and upload them to the Python Package Index automatically, if all the tests pass successfully. The CI will also automatically create a new Github Release and use the content of the annotated git tag for the release notes.
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 uharfbuzz-0.29.0-pp39-pypy39_pp73-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 174ed73c1230299bcf54fed95f3a3e52205b87386814f42bde745f5c9459d269 |
|
MD5 | 54f5e7fa548039192fd460fa54ccf27c |
|
BLAKE2b-256 | dfc51d08f99f967c663223310683fb2f845eceaaa69e0d5e35e4631ea25628eb |
Hashes for uharfbuzz-0.29.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e4c1bbe7e38623c5d2b53a5d4b9e8b6520306f398b84959574cd02aa2149eeb |
|
MD5 | 3de3607be8a3595fe1010668a7e25458 |
|
BLAKE2b-256 | 8b6739405dafa5c94dc0fda592884e9f85679ed7451be3b4d9b5099fe1494138 |
Hashes for uharfbuzz-0.29.0-pp39-pypy39_pp73-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 310b54866a8b9707f10c70d3ae4156894791021298e0f8c2a61360a56750113a |
|
MD5 | 514e6605d0c4f8633ad7e533ba2d2cb8 |
|
BLAKE2b-256 | 3597fdf811525c33bb8d8a064a8c9e784b699243c02eb2c5bb20d4b15aeb8da0 |
Hashes for uharfbuzz-0.29.0-pp38-pypy38_pp73-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcf09e46175ee1f58ae452bfd15eede4a767a602ba0776558ccafa75645567d7 |
|
MD5 | e38a14f32d199d7304e87f46e8dac427 |
|
BLAKE2b-256 | 3c2e3a6bfd9b2623b025a7f4984090bcc480c7944602dee3bdec338a07f336d8 |
Hashes for uharfbuzz-0.29.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c38e682006cd56dcfdb35537bec3ec92931880b9953ac8521f7eddb0f2b331b |
|
MD5 | 5d2b789403287056f38b45142606c4d1 |
|
BLAKE2b-256 | 452477a05768a2cb0a7b334496d3eea110518994017cd0ce70039f1706b141c2 |
Hashes for uharfbuzz-0.29.0-pp38-pypy38_pp73-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | faadd6dbdc2c8186e6dc25d7ba2115517b943349b171f8c4a1b67272b3a3875a |
|
MD5 | aebb125ed806eadeaa0508d12462b208 |
|
BLAKE2b-256 | bedf65c8ee01c9e9a3ace4010ec7a030e32b7a71ad6a01fe354e7f492027a57b |
Hashes for uharfbuzz-0.29.0-pp37-pypy37_pp73-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a357bfbff5de3df43dc4c6c6cbce7edf9f43a39d9fed417987d26bd5d9835af |
|
MD5 | d08d5be080e934db7b8fc01e1a4e55de |
|
BLAKE2b-256 | 16afed2c0b34519bcdeddef79d12bd36e6569ad21a8a851b671ec251eb6fc00a |
Hashes for uharfbuzz-0.29.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5184fdd9c98cb72e1dda5192ca5b85151515cc149ef543564e9d4ead081d2156 |
|
MD5 | 41c6ac37b6103b4b9635e37014f1ced1 |
|
BLAKE2b-256 | 4833c3d0f7fe5166ff62a0fd04124d78aefe3baa30197a67e7d7a799eef7918f |
Hashes for uharfbuzz-0.29.0-pp37-pypy37_pp73-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 464322ea0d2957e947588ba9d93ce3d57f7f9581e2a093055fa59d5fb83dd528 |
|
MD5 | 6fdf00adf503884c0365a8a249aece12 |
|
BLAKE2b-256 | 8ddd4c5582a7407f599568593968b1e4219a9b704d27892fdfc9557ede0fef9e |
Hashes for uharfbuzz-0.29.0-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d37e1cf6e9ab6d537be647fbe0fd99dbe9524b61d11fa1d00493c9e01ef0d3c |
|
MD5 | daea87fff2d1ffe1afba81146c92d50c |
|
BLAKE2b-256 | 4dc747272d2d765c7f56526d777ded5233cf80966087ac39686153b1c782066e |
Hashes for uharfbuzz-0.29.0-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c87c6f5e949db6358c4a7831580d337ab46861f74a64ce7aeae1b5dc3419f2a |
|
MD5 | 07944b1f681a0026d9e72ab758303782 |
|
BLAKE2b-256 | 0035a046d46c8a8ba30199838931f709acc3dfb2b4de34db04f2b844dfe4f380 |
Hashes for uharfbuzz-0.29.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 162fb00012363f5b2e08ae65828e7655fec11a6cf6dc0939af239f2a21fbadc5 |
|
MD5 | 6cac8cde985c7c25e741875f9604f5e2 |
|
BLAKE2b-256 | 8e0e4733afe9add6bd113d6c47681e3b85ca1025a493da8ae2142ea302c0e717 |
Hashes for uharfbuzz-0.29.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b667a4e2553157b575bba9e0af0791e2ebbcb24397f4adae3b890f55d91e496 |
|
MD5 | 242d68878d9673af71b2b7d2f07ca701 |
|
BLAKE2b-256 | 5d9b7a1847d3dd85f0fc2ed5c9e49894ecea230901583953e25fe97a6d4f5901 |
Hashes for uharfbuzz-0.29.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b5b447a698c4a1ad125bb8f733d8072600dd7c436351bd2db24444a5842de28 |
|
MD5 | 36d9bc3bf740d0b34b18d48ccfe75e7d |
|
BLAKE2b-256 | 7dfea6cebbfc5bb1e1f33c1029ac6ae0dd776388bbcde1fb753bfde47a9609c2 |
Hashes for uharfbuzz-0.29.0-cp310-cp310-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9c3a76e4cb98d0c892bd77691c58f98e1b957c84b3459917040b630ea1d8739 |
|
MD5 | 9821817f07b33cda5705a4e0b42a7436 |
|
BLAKE2b-256 | 31b130645a2436c49588ba4a6854e61f224c4e33e3c301efdc450c46be0dad3d |
Hashes for uharfbuzz-0.29.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27edfc2abc96c66a5e1d222636ef671e7aa5c27cc3f04d74421fced9a6e05d4f |
|
MD5 | 20cbc40d94c5e1bcf44494bdd3bf9ddb |
|
BLAKE2b-256 | d069be7b64707aff65192117b4efa9e67aea795225ce5a36a074fa28bc1ebfd8 |
Hashes for uharfbuzz-0.29.0-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d71138aaf5ed435748df25474378f868cfd07b2c53c043a8209fe35c44bac6f4 |
|
MD5 | c8a14c8c510a774b5550e29ff6e394b3 |
|
BLAKE2b-256 | d7c66c0a59b875e1e9393951404abd05be5f9cd40b7679f5b7810604b9b202f5 |
Hashes for uharfbuzz-0.29.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3721b1068646ab5083119e6f59826e53aea9662fc02f08bbde1668346aba89a5 |
|
MD5 | e5814769f27b9f874d58bd4b8bdf332a |
|
BLAKE2b-256 | 8e732fc3d5fe818b2473d19c19be583202fbf94f29f7dc727cafe4063183c379 |
Hashes for uharfbuzz-0.29.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | feac86e44ff9d5b5fd33e92c6211a98394cbea9bb2ae39e23e5c0d048e7212a0 |
|
MD5 | 1b4cfd061793a87d00fc436a4fe8b09f |
|
BLAKE2b-256 | 9b7c6605b96904468e8bb1c0b876d74c52109407b2d347d55f9b73f8fbbfa659 |
Hashes for uharfbuzz-0.29.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0cde8cddb4b3fad586dd3c2c9ce6d36876a564608c11cbec1839ed3a0ac650a |
|
MD5 | e7d4fec999bfaa19dda624c56618ff03 |
|
BLAKE2b-256 | 81a2db8297cd5fe28bcc32175aec65f6a3de216a938862fa1d9ecc5bcc77c53d |
Hashes for uharfbuzz-0.29.0-cp39-cp39-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8c3b8473c6b8f1080913933da4cb88ec66ba11bc7772c6184f65f373c05b498 |
|
MD5 | 244d45410aac7498db53b979325ce17c |
|
BLAKE2b-256 | 4b34aa985d44374b3e29cc773aea529539168ee6b3f91b659a4199d1b1240fa4 |
Hashes for uharfbuzz-0.29.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfe7d3da3e948d2628e97cef90d30731e7c36991d8764cdcb72bc3f52e3a855d |
|
MD5 | 3bf3f8a6056b7fc2cd67169bb8a2219f |
|
BLAKE2b-256 | a722c69d19a25dcb611a78732482991cf401066cbda33f456c44571b29935a3f |
Hashes for uharfbuzz-0.29.0-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfd8647f97129657345c97c578f049325a7813db8e8433bcd25a4c9dbbf6e5d2 |
|
MD5 | 1b8bbf9df1114bc0d7f6861ecd13a371 |
|
BLAKE2b-256 | 32fef6395d0badf691d6ef493f037f4cd2c9cbfbe770ccb7eb1fd113eaad7176 |
Hashes for uharfbuzz-0.29.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5da507bc6008282c36f81931540c3a3be490890bf66a42f968f03e3afb2f073e |
|
MD5 | 6424d28d0637a0d72d00486ed949eeb5 |
|
BLAKE2b-256 | d2be6dd7c2d53b68c95c7d0db861b4399c725c80a3ec5908352f3cf34fc3afa2 |
Hashes for uharfbuzz-0.29.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 781e1a7725dfbfdc65359a7249892f8caaa1c72f3da5b0b0e971c1e6a354b695 |
|
MD5 | 080af083e39d5097ec6670769c15e6e3 |
|
BLAKE2b-256 | 15c1d94a0cd36c84e388fe0c9f17a4115ad5a9422af4e2351bdd6294bc38915b |
Hashes for uharfbuzz-0.29.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b7fcbe5e449077d1c46e0cedd959c848fba6ec6341d94c98202fc69bcb67416 |
|
MD5 | c2103cd709a2dad30423d59a0e526759 |
|
BLAKE2b-256 | afbe5a451f1e4f544323defd85e54427881b217a648783ab138abf88423f669a |
Hashes for uharfbuzz-0.29.0-cp38-cp38-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f4310608281b0b3021cb303b0e10a655a3a10d3795f7bd2e091d1a186b5ce4a |
|
MD5 | c15694b005a0718855e67618aceed754 |
|
BLAKE2b-256 | a75c0cbb71b7bc0d0b1a691fbc616c8a966c298ddf6967b45bde98a3a7e50ba8 |
Hashes for uharfbuzz-0.29.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a342cf9494c13e8d13d4c2fa1822b407651b5e580bee6c77cae767917990b0f9 |
|
MD5 | ee8c68496d541836468b71231fb6cee0 |
|
BLAKE2b-256 | 54284042a41a8a668a7c1d379acf647e63e263d1bd2e70256d29476c55ba2ecb |
Hashes for uharfbuzz-0.29.0-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e8e59f702f523128452e647f3d895aa230dfb04749c092a97919ff0aadf920d |
|
MD5 | 8d03514bd1f79170241331f612f711af |
|
BLAKE2b-256 | 68e64ba921d55d0665ec33b9332561ca7f1b7939cafc19b1a6bc314766325fbf |
Hashes for uharfbuzz-0.29.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1cf58f4076035196ddf30e72b768a1d00bbc63b2d694842b43a1f272b685ad9 |
|
MD5 | ecbc19edd9b4bc090d27887bf89403d4 |
|
BLAKE2b-256 | 00d83de2bc7b043e8c39416ae5b09e151b84028fd89ce5e965cf4c5727748bae |
Hashes for uharfbuzz-0.29.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 881cec036aff5cb0713fb41c1b7a33fad89d5dc2ace1dbc57f6a6ef4cb8cb611 |
|
MD5 | 99b59eecb133999678c18af93b2c0de4 |
|
BLAKE2b-256 | b73e989af9dc7ee8dd2253036d53b00f5083a39846c47f7663251f04f26cda1a |
Hashes for uharfbuzz-0.29.0-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd89f55d2c4ae5e37270e8cedeb58b8a3a36c18da7994cbe1350e1cd186cdd6d |
|
MD5 | dda4858dac21078e4e55aec53c29be64 |
|
BLAKE2b-256 | e4d09f6020d85628145edd53abec5d534ac8a4bf9e172319bc14e8c8c2b10002 |
Hashes for uharfbuzz-0.29.0-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fb39a8c53ccf0e800b3e813941d2466eca2deb0c4ed3fe44e862b70b6554347 |
|
MD5 | 29919d23ee6ace1e60d704c4dc7b2523 |
|
BLAKE2b-256 | 705475b3d33f94b11a1a93258ac4e12f5dc65beef6ba987b11142fef65b4d570 |
Hashes for uharfbuzz-0.29.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b643eaaee6fdc1362d5894ed0a747dcc178e88b0f45d7f8e2352e8e77d0ebeb |
|
MD5 | 5a022fc95f03fc0eb9432b450f7c9e37 |
|
BLAKE2b-256 | 7e9ff0b25d7f3a6970e793630474587700f9e3b182dd751adb97b1e3fc0cd38f |
Hashes for uharfbuzz-0.29.0-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6870dbd735b46424e4c186725bf96383bbe8b72dd1028f367fd4e48162e27dc |
|
MD5 | b27351604d4b4b132eea3fa01dc20018 |
|
BLAKE2b-256 | e800e1b0b333a50f6f8a148c11c1bb969292d02f6caaea3064a272c0decd8550 |