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.19.zip
(458.6 kB
view hashes)
Built Distributions
mglg-0.2.19-cp38-cp38-win_amd64.whl
(328.7 kB
view hashes)
mglg-0.2.19-cp37-cp37m-win_amd64.whl
(323.9 kB
view hashes)
mglg-0.2.19-cp36-cp36m-win_amd64.whl
(316.9 kB
view hashes)
Close
Hashes for mglg-0.2.19-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 080b4b783dcdb3464702e3abb5709626d78ef3e6eb98b22f6680952ec810f775 |
|
MD5 | 97373eea3ffa40f458962d5e79475550 |
|
BLAKE2b-256 | d4e190ec2899ec473b93d46695a78ab388da82c2963133d6245a01376794fa4b |
Close
Hashes for mglg-0.2.19-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4490d60118877dd0d0e32579a04dd6cb92cbc155d4d7e2a281cb65a6afb579cc |
|
MD5 | ab04116eb621fc7f2400f8a0b07def16 |
|
BLAKE2b-256 | 282907d58f347747a16dbedd51eb6aafacf9695252fcdb7c146348387a5047a9 |
Close
Hashes for mglg-0.2.19-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a14d79b3ff7612ea062686f4ec8eb764647cd5c3ee25ecb80143789f9e261938 |
|
MD5 | 980d830454648298e3c05641559a320f |
|
BLAKE2b-256 | 25a1dc8b150b958a752f7c0209456692e89b84e643da4965dde88d72797d8fe9 |
Close
Hashes for mglg-0.2.19-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b451312462fd00a6e0f9f4e74e37827661fe89ede225ead01b700714262b135 |
|
MD5 | 538997db3e03890115c776ffd44c47af |
|
BLAKE2b-256 | dd40086841511e94e5b82ce2a3e2c4e9def97cccf9438b94dafc1769d25b0538 |
Close
Hashes for mglg-0.2.19-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4c067ab2ff805caa85eb0e46f1a63b93a3caa6f7e52bef474aec171a37d936e |
|
MD5 | 015505cfb5e3df8383407bf9b73ad041 |
|
BLAKE2b-256 | bd774b1777dd8f91d8dcf263a6adb79abfb849f6e64a2d6186f1ebdc4587a03d |
Close
Hashes for mglg-0.2.19-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34c5f5411299ae3a86019f41e99e2900ee55bd525297fd0b51a21a481a877025 |
|
MD5 | a0faf926352874288450202c8f92094a |
|
BLAKE2b-256 | dd2d3593cc141ca189f1aa6e2d2d00f91d233b0f064c176761742a49cf5de2a8 |
Close
Hashes for mglg-0.2.19-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f99d046b8bc69919ab10b0db02b345f973bcd76e977e98d1d22530b055c613cd |
|
MD5 | 52a8d96a504d6bc6fe5bc4183a1f884f |
|
BLAKE2b-256 | b2d2950f42b2b8b02527c055126b970df17a694d9ae70d355662054eff4ed658 |
Close
Hashes for mglg-0.2.19-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7dffe3f0d468b36d79030a2a07a7be0f398909be6ce9a1935c5c4c0abd9693a4 |
|
MD5 | a616fc89a5bac3511a95e4ee92352bd0 |
|
BLAKE2b-256 | deb8a253384b06632f4766728b49e25ec0faec67362990cacd935dcbfac9e33a |
Close
Hashes for mglg-0.2.19-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da9a577df3622b572e58cf8ba5ddc9c6784537da0a225317334623ab048dd853 |
|
MD5 | 171fbcff1283b7a9ff90f6ca02a42704 |
|
BLAKE2b-256 | fa05d6a6b61457724d437c49ded675b92fd8159f20137851fb91e3a4dacde2aa |
Close
Hashes for mglg-0.2.19-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58749f76df441c2e0ef2d7273ac1a51bc3e682ab2e2ef2388e2cda2fbabf8a0b |
|
MD5 | 71dd33c65c089c9e4d9295faa034a3c5 |
|
BLAKE2b-256 | 4e83a2ffb0966fb5fa883e872a2188302d7b9f6d481705071c19b5b422eef461 |
Close
Hashes for mglg-0.2.19-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d32f2951ee03325de212476f47354d9549573ecfd725b69bb674e74e9c6ee168 |
|
MD5 | f6a8fd7e88ee23de2729b78f5a385425 |
|
BLAKE2b-256 | 6a390eddc875e3c34d3553a25810badd5feafce458d4210ce54c8ac439f5f522 |
Close
Hashes for mglg-0.2.19-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a33085d81ca92366b390ea55086b7b2603f54f8f83b1a56af702d980d86d2775 |
|
MD5 | de263ee38f9d34549d6dc9ea60157326 |
|
BLAKE2b-256 | a20ec4b83f0b63fbd7ed8838def0cb893530ce61c634197e29f638f083d0ea53 |