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.15.zip
(458.3 kB
view hashes)
Built Distributions
mglg-0.2.15-cp38-cp38-win_amd64.whl
(328.5 kB
view hashes)
mglg-0.2.15-cp37-cp37m-win_amd64.whl
(323.7 kB
view hashes)
mglg-0.2.15-cp36-cp36m-win_amd64.whl
(316.7 kB
view hashes)
Close
Hashes for mglg-0.2.15-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bee495b8bccb6ada3cdaaea1f6be0e238f2ceac04116b056d62fbaceffc24991 |
|
MD5 | 093fc188a37be3e000b9584748055cb5 |
|
BLAKE2b-256 | c13ce300640aa9d3168ba0ad99b06fe08ae149c196d39aea6f1bd9eef1543753 |
Close
Hashes for mglg-0.2.15-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 218d014e9e26335af9f50c12f1ec063432ca26cca9ca0dd685f7c18557abcc12 |
|
MD5 | b17a61c57d99c21c264de41631988ddc |
|
BLAKE2b-256 | eed9fd11e6be947a002f746ac227d9c1d4cf3bd07560e684d8094df0110c705b |
Close
Hashes for mglg-0.2.15-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df79589d9aa3730409a97a93aac151c4ccb86ad1a94068a79c7042cfb8ed69e8 |
|
MD5 | 86d94a8774a7da1b1f1f238e3d2fb353 |
|
BLAKE2b-256 | 9afec612e435fc209c4e3e687c284b23b31094bd083e4392c870c2cd8fcf8a66 |
Close
Hashes for mglg-0.2.15-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e923773f694087d6bfbf853c7ecdee94034e4444fe11cbcdc822bdd16213224 |
|
MD5 | 3ea6db6f8861f6b0621a6cf81cd65ef3 |
|
BLAKE2b-256 | 33a7085ce396dbd8b975d648e27d88d42ece57f535dbf8e65d15c7b4817e5a93 |
Close
Hashes for mglg-0.2.15-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28f5640c30cedecd06fedfeba49e92eb1adfaa338e6127d763f5722bcdaa89b6 |
|
MD5 | 569e4347ae271e695d8388338a1383e9 |
|
BLAKE2b-256 | ba5bf303b6d96ec5cd9b88d5296c5e219b92bd57ad29e9ad6cba5c6709179819 |
Close
Hashes for mglg-0.2.15-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1982d0f65326a5cbfdb42d8af1b806b5650a1b5944b56b9fc4336a163149741 |
|
MD5 | c4c58dad71c1eb18ada797927a6f0b4f |
|
BLAKE2b-256 | a4a9ea3d8d3b1a9f2c2526908746cb78998449dc62591b09221742a6eb7b4a1b |
Close
Hashes for mglg-0.2.15-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea8a77abf726543c44f522933d9b727e4073531716985e98fd11bafb0397a48a |
|
MD5 | e9f858aba6925582687e88c666ad8c39 |
|
BLAKE2b-256 | bc2178e666dab744c8ca3372ccfe3dddd8aedb01066090cb7885639eb6115fb9 |
Close
Hashes for mglg-0.2.15-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20ad7019b2eb2b3f2ff683b0e38c4792de6f190537d943157bc976c5eeff88cd |
|
MD5 | 6f31f1a8bf9623dc558d0d14fb848290 |
|
BLAKE2b-256 | d2a5903af3af772999cbe3149fbe5e05ef4fa0c65af5bc56dced070f8dc229ce |
Close
Hashes for mglg-0.2.15-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6354ff8a4e729073aa8b290cb84a8983379f3edf2a27ffe9cfc9b6284f6786b8 |
|
MD5 | c74ce251155c1017dced042728c3adef |
|
BLAKE2b-256 | a2894a72702c1432d79888baa11d0b48520f8a7b390fd0ab5ce1cf098bfa324a |
Close
Hashes for mglg-0.2.15-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3379370ba7d0953970f1c45faa23e9d63622cf730e26d7e6643f3fc804c5c345 |
|
MD5 | c7126a1224f56048881917c420bf48a1 |
|
BLAKE2b-256 | a4c03d123dde79cad28204f80034676bfb26f2a8c96e4602f9b357ed5ff2c064 |
Close
Hashes for mglg-0.2.15-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9d83489326cc050ea07ec23c7478c518d6af5dacd59649b966b6e109f8e0189 |
|
MD5 | 1d525e79907349a5509f31473b6fa9cf |
|
BLAKE2b-256 | dde9c698c4f1dbd2e8fa8d5086239605e8e07c21d805a32424ad78d9f8dea9cd |
Close
Hashes for mglg-0.2.15-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f04e548f98dbaabea8909b1c46a2872ed83c101ca906046fc31436240523406 |
|
MD5 | f450bfd91a312bdcc249659ea7960290 |
|
BLAKE2b-256 | c943c347221c0a1a95727c0896f500de154b93d2ed57e0d15debf7ff61d4ee64 |