No project description provided
Project description
Built-for-purpose, minimal 2D graphics library.
Working on documentation, but the file examples/jamboree.py is pretty comprehensive.
To pre-create the glyphs and atlas, there's a command line tool, e.g.:
python -m mglg.util.prebake_font examples\UbuntuMono-B.ttf fonts\
Which saves a pickled file (in this case, fonts\UbuntuMono-B.pklfont
) that includes the atlas, glyphs, and other info to avoid touching the font file. Add --view
to see the atlas.
freetype-py
is required to generate pickled fonts or do on-the-fly font loading, and can be installed either via pip install freetype-py
or pip install mglg[freetype]
.
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
mglg-0.2.22.zip
(454.8 kB
view hashes)
Built Distributions
mglg-0.2.22-cp39-cp39-win_amd64.whl
(328.7 kB
view hashes)
mglg-0.2.22-cp38-cp38-win_amd64.whl
(328.6 kB
view hashes)
mglg-0.2.22-cp37-cp37m-win_amd64.whl
(323.7 kB
view hashes)
mglg-0.2.22-cp36-cp36m-win_amd64.whl
(316.7 kB
view hashes)
Close
Hashes for mglg-0.2.22-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c446309ff60799286d6f725d5b8b4f2d68080779a2d398396c1ed856016615f0 |
|
MD5 | a17573dabe3a8f9b3bbee13fc0919fda |
|
BLAKE2b-256 | 92226810ddb747906ee48bb281c190725871827150c2e9bbdf42decead887519 |
Close
Hashes for mglg-0.2.22-cp39-cp39-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48206a8df14e8d7d1edb879012975ce4cead3fb449f85bdf2e460127c6f28673 |
|
MD5 | 6bc5ea798cec35abff73524133d51e0a |
|
BLAKE2b-256 | 83cc456b123f09e581c72ffbb1f9e6783a9733a49758feeef4b6f25ce11c05c0 |
Close
Hashes for mglg-0.2.22-cp39-cp39-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fdfd7cace6f7732cb49add7638897ff07b014c353b3d8b503229811fbf936a6e |
|
MD5 | 6397ca4466fa1f9dbb4e69b708898ff1 |
|
BLAKE2b-256 | 2985e061081260df5ab2167483ffa963817dc95ed7e91c36421755292fd7864d |
Close
Hashes for mglg-0.2.22-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 464be8428278f043020424dc546bcb5d2e7fa488b8072ca9d3ab07b67a156695 |
|
MD5 | e22f029b35b208f1555815b083082f14 |
|
BLAKE2b-256 | 9fc526fcdb19df1e5897b494186a0f689ee28e7409e335003276737dcdc3da56 |
Close
Hashes for mglg-0.2.22-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cca1ddab0920d367aa84e3e10907ae183407cde18fa922dccc7088a6991c002b |
|
MD5 | f00ba92eaab088253340ba48d2e42bc6 |
|
BLAKE2b-256 | 274bf11e8fbf19b3212d9ede75ff7a92ddba279562841dad1425a322d81fb6ef |
Close
Hashes for mglg-0.2.22-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27ad196e70ef0376a1ddb255059dd8ecf0b0820b82b260eb70afb12cc0b2effd |
|
MD5 | 86d3336fa1623d72e68eb69ab305bd99 |
|
BLAKE2b-256 | 9106cc8d2c982671c71a69295d657770828867d188c833a89193f9c1e2210ae2 |
Close
Hashes for mglg-0.2.22-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e1301c3fe526a1c269353ffdc8869e2ce1aabd4bff43da4335fffb972c2f2cd |
|
MD5 | 0dc698302b379b02b7a2140cc8efeb39 |
|
BLAKE2b-256 | 23da1a6f9d9de84133d2a9f8f1525b08809cae35a66dec45f11396b3507ffa2e |
Close
Hashes for mglg-0.2.22-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d92921f6ffa1ea9493a5dda78c4d9394d1aa9bb615e4b12abda9ac20a24e6e99 |
|
MD5 | 903d945718b1d9210c10e83e054eb86f |
|
BLAKE2b-256 | 767fd67951d7bfe49f4c25371f8a342928adde376977634cbf3302e7aab482e1 |
Close
Hashes for mglg-0.2.22-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1734657bd68716a40bb7428af445a1046b628fad7c08d8fefa1e3539ca8356d2 |
|
MD5 | 01022879b23f7387ca46871afb289f7b |
|
BLAKE2b-256 | a24ea9e87c6b8238558a0d66613c666206b8b791eb4ddadf2f239b3a46da2416 |
Close
Hashes for mglg-0.2.22-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffd70e60ea3dc0c78b45da06ecf6223a2287b779225533f5197270c81f3e4f55 |
|
MD5 | 6b5ec0da10ab5198aaabfb5f0d95c9c5 |
|
BLAKE2b-256 | 73c4ff71b3a6a10d2fe0ebd4e2cd536098ba0c29064f62b4ed23b76d36d962b5 |
Close
Hashes for mglg-0.2.22-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97c97e02f5f40667896a34857d772d4e7e10ef05858934096826937b84890a7f |
|
MD5 | 9ac7e9431a5cd6825d935f6c6309f8e4 |
|
BLAKE2b-256 | e30ac4b4ffe4154017f55ba9c60ed3dfe3e40a93e792531d9868513a4dfdd04f |
Close
Hashes for mglg-0.2.22-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1af3e87794cfb3211deee5526c3ccd0fb24fdf362ae016f4265d90fc004fb35a |
|
MD5 | 7d1fc3079cc18e51dd431b2029ed8f85 |
|
BLAKE2b-256 | ded6f2f238a4c416d52c98c033ce8716b3019c9a94b693202d8f52a68e569b7b |
Close
Hashes for mglg-0.2.22-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b8094eb59abf032b9ffba740b2ab2a7eea65351d34ddf8cf8eb1cf1a16bdf06 |
|
MD5 | 79dd62a54253535ebf5e19146753c48a |
|
BLAKE2b-256 | 53b209d16156dc17c99a134cb773ca7322ccb60ec547aac907db2ef65b9998b2 |
Close
Hashes for mglg-0.2.22-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a169b7995e8a6f63681fe51e1f0b52a9ccb301683335c10b60c95d0dd82d466 |
|
MD5 | 68985f5b9abfca2161a9e57b0b46aef7 |
|
BLAKE2b-256 | aa5e361a323b7a5b8cc627dfd744be493fd514ffc95ca940614a4ab6b83b9d2d |
Close
Hashes for mglg-0.2.22-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bba02381232f632d1186e7fae72a296732a3683b8b072c8c43630f8577bfafd |
|
MD5 | d2b6814858c0d8a82b59ab1860b282d0 |
|
BLAKE2b-256 | f199924f56d35e4834d417c3f167069f9b47fe2d1fff56b240c46ab09e90f5b2 |
Close
Hashes for mglg-0.2.22-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfefc64de13e7e047928d0bb7bea13b698de0be369dbf45d8d8c51c51e132dd1 |
|
MD5 | 4dd8b5f66e82279ab8586f4d184d4cf4 |
|
BLAKE2b-256 | 46f95c774da4f77aaaf29c513b7796bf33e6fa695b32d6ff23b435f7db40bd55 |