github.com/ManimCommunity/ManimPango
Binding for Pango, to use with Manim.
https://github.com/ManimCommunity/ManimPango
e032b4b167aa97c66ae418a650e85b52dae4b6a3 authored about 3 years ago
882c41185d22003efcefeceafbb25dfe669d6768 authored about 3 years ago
fd5e6208404513b5d3eacdff9132aa12cd3669f0 authored about 3 years ago
d6aee37b60b30812b240589ba93795c05c62e09b authored about 3 years ago
PANGO_SCALE needs to be multiplied even while rendering
c1c29e13af7a379772ca41fcf13a9deeb0c24d35 authored about 3 years ago47c5380da2dd35e0229e358bebe2d3eae8ae0256 authored about 3 years ago
and divide by PANGO_SCALE when getting it
This should make setting font-size actually work
8a72174ab28c94d73a6afa813ec864d3aac7ba38 authored about 3 years ago
- to check if cairo context is working fine
- create a font_desc
- convert py font desc to pango...
that's how it's done in pango
95f758571161aa23c02556f5728997ad92a3635b authored about 3 years ago9b17ca588c804c917b095a52dc948d25c3eab0f4 authored about 3 years ago
New API: FontDescription
954e887c2e418927037b575f480ab13a3f7efd59 authored about 3 years ago279bb7ae46462ff445c21f93feca3c591d51037d authored about 3 years ago
31e3ec722fd46992839542f1c9be290c3e4d3cdd authored about 3 years ago
c4bf317a92e2bc8c7003922180b72a6a68ba6b41 authored about 3 years ago
0b5bf7813589691a75753fa2650b377229cd4baa authored about 3 years ago
and the c-implmentation in `_FontDescription`
also add docs
19fa6a44981d87fa6b8520a76906f12f897c661a authored over 3 years ago
f665b30bbc6c11c5f8cff07ee31bc54115e946e0 authored over 3 years ago
e32f66170b33be211820d51b53cd28e6d67de542 authored over 3 years ago
61450ba285c4fe60ec88d619bbdbaae5151b12ed authored over 3 years ago
151a5eb721a094c518eb47619dd6fb4941ce2f5d authored over 3 years ago
af4d77c6300feac576719629d544d87df1dde829 authored over 3 years ago
ac650f77085aab1ee9129c112773bb9cf920dc98 authored over 3 years ago
this resulted in use after free
and caused the tests to fail
on ubuntu
e10450a3c9c3f2b5b97fd90e76584952619caa02 authored over 3 years ago
e6f6bb67ff765510f8a1dd0a03c29701e10259fd authored over 3 years ago
newer cairo present in msys2
generates svg which are slightly
different adapt the test suite for...
6f74c5a0f37fa816eb2c098afd23b88ac63f043c authored over 3 years ago
as well as check if the returned stuff is NULL
d32ff30da237d7ee648434a9bb2054d2fd6a372c authored over 3 years agod60a72261d5b500b211615eb028b7f1fd335c3ae authored over 3 years ago
todo: docs, tests
d2e162e64695eba545bf2ffc6f9adbe7030db8da authored over 3 years agoMove all global includes to `manimpango/include`
f960dcaa0602384f0e79f71695e664dbc4b765d5 authored over 3 years ago
This makes a bit cleaner rather than those files hanging in the root
directory
Layout API
fcee9a4c04900534ced5b2e50f495dfc31f49117 authored over 3 years agoa353b66d641cb2f0db780cf5d85787de973d8014 authored over 3 years ago
43710814d9be6f924ed0bcd7665828eca0c8c5fb authored over 3 years ago
68f7b37f654b3c3bfa024a709f81eb1a78e4939b authored over 3 years ago
a596325e70c54061601c88d42b5270a04c7c9eae authored over 3 years ago
c4bb3ea2138a3a42d4450559fe15ce83d09171f0 authored over 3 years ago
fbb02bc72e5c66be514011ae9de48725e183074c authored over 3 years ago
1a1801c1123a4d5b02b269b7addac639055f9936 authored over 3 years ago
a48f9f667ac123ef186ffc7bbfc1434d7680671b authored over 3 years ago
5d16114b17d6f8a6bf621019cc93693abe184fc6 authored over 3 years ago
Add support for PangoAttributes
cf9270a7ed2579f3717eeead6e5a0ae26e224df3 authored over 3 years agob9696c8b79fd7e6200c5fc44c667ccdc08aed836 authored over 3 years ago
30c6226886861063f571ed16d8b9673aa173e3bc authored over 3 years ago
dfcd8d26f4327566171ca167294c85066181d4f2 authored over 3 years ago
1c5b54e5c6a6e8d054de85c6cdf5381442756e60 authored over 3 years ago
bcc14250a6d2a187152fba2b8408e40bcb3b2ea4 authored over 3 years ago
448283bcbfc60f88a9a3ff0c8291aab42140d89e authored over 3 years ago
ee842daed4f2b1ee4f43b5bcc95c52d25726bc80 authored over 3 years ago
11f6a1ea035d93da82ecc949a8cc3bc79f585da3 authored over 3 years ago
754d2ccb66382816cbcec7c06d034b166fc78b52 authored over 3 years ago
cf8c695117061ae586523e54ff0082e17e9bf70b authored over 3 years ago
412d0ea9b86d74998a715b34631836c8d1816576 authored over 3 years ago
ff6debddf9a2c0ec8c1a5e79d3bf3f63c9b0b4e6 authored over 3 years ago
Don't use copy module in `list_fonts()`
c2b985ee15de15b4afc07e3cc1bff4ac7b23ef4f authored over 3 years ago
It's useless because Cython is capable of handling
c-strings which shouldn't be modified. Initia...
2ab665dd0f1843abbff1eb322caa54cf703d8332 authored over 3 years ago
Fix wheel build on macOS
4dee30d693504b0bd89e17e4d16951c4087d5090 authored over 3 years agob420c3f78b32b816240113b04cd82fcf35212571 authored over 3 years ago
7f6761c0d7c317a23824229567a28102086404c4 authored over 3 years ago
Ignore unix like libraries on MSVC and other changes
227e0fd24aa0c5c5462c3e283fc44b7cc3346dcc authored over 3 years ago835aa2514b95aac3be552b1390d59f5bedab1b5d authored over 3 years ago
See https://github.com/mesonbuild/meson/issues/9955#issuecomment-1030843844
4ccd15a05288188bd9a1b0baabc04632bd26f640 authored over 3 years ago
When building with Conda, pkg-config returns `-lm` flag which isn't present
on Windows and the c...
756dd2ddc2a9ae4c7ee8241f6f9f2d1f794fafde authored over 3 years ago
* wheel-build: Disable xft backend by default
It's useless for us.
Fixes https://github.com...
162830540bc99273142df5e2f096034f465ca94f authored over 3 years ago
d12060394fa30f65bdbfe7c527b4e9fa04dd3de3 authored over 3 years ago
It should detect issues like https://github.com/ManimCommunity/ManimPango/issues/73
c426a457081235239562bc011e19a20f3ea0ee07 authored over 3 years ago
It's useless for us.
Fixes https://github.com/ManimCommunity/ManimPango/issues/73
8e23a38fe7c4935a8048d338be809d91b2c3487f authored over 3 years ago
c956d5f1550e9b17ce0e51eb0f23897b65efab80 authored over 3 years ago
* Change to MIT license
All the authors and contributors have agreed to this change.
Fixes h...
6b5837dbdea674dfd81347f3f6b42060d86a9633 authored over 3 years ago
4de455935df3d93f144078959500a16fa098fcf3 authored over 3 years ago
This emphasises that the person who releases should actually "draft a new release"
instead of j...
df7905e0fdfd4f747f761bb9e1f7a6461eb925aa authored over 3 years ago
* macOS: build a shared library in wheels
* Add workaround for failing tests in msys2
See http...
58f82553ba10a0944960bfe5750b8eb1066cf614 authored over 3 years ago
Updates to CI and fix tests
51fccd9e5c4a4c9a7f8d8d6497b238eb55b5c6b4 authored over 3 years agoc6c1d1bf995cd8a26735847bdebb3fef1fb5a50f authored over 3 years ago
Co-authored-by: Philipp Imhof <[email protected]>
506b163ab1deda99dea694cad3815daaad136086 authored over 3 years ago
- tests: fix test warning, use absolute path
- Don't use `windows-2016` (it's nearing EOL) see #...
* Allow passing color to TextSettings
* Add accidentaly removed line
* Validate color pass...
6d3f2225b62e6132d724c5c27ba7a1c240480a88 authored over 3 years agoRun fonts tests in a subprocess
1c6cfc04994268a9ebd4244040a53b0932730307 authored over 3 years ago
This is needed so that tests don't fail when the order of the
tests changes. This happens becaus...
62f8b2937096fa3f6fb967a82428713bcd3d1cac authored almost 4 years ago
0a021ec2218419fba0f066486370ebe2c4e85589 authored almost 4 years ago
de9f6a200973fbd16136230a7968a4e501e56daa authored almost 4 years ago
0f3ca23f61ffa9c1d7110ef7c37456f7116dde13 authored almost 4 years ago
* Drop support Python 3.6
Manim has dropped support for it so we can also drop.
* Add py 3...
e5c300009a84738d8b6a91ca004e241c6006ca9c authored almost 4 years ago968fd99de73a606d10d966d571e7521f50317100 authored almost 4 years ago
Manim has dropped support for it so we can also drop.
416db7ee9634da2fe8a3782cea06715064bf2dd8 authored almost 4 years ago03c9c28b728d5cee42afe3153ad327a7120e18ac authored almost 4 years ago
7e864e9264b511b71b2c474a99f27d59333d5986 authored almost 4 years ago
395d2e0a061d7646d72f46dd7527b1f935bfaa8e authored almost 4 years ago
fe74383f0eeb8424ffa8d0fe242a38d0eeb9f492 authored about 4 years ago