An open API service for software projects hosted on Open Collective.

github.com/ManimCommunity/ManimPango

Binding for Pango, to use with Manim.
https://github.com/ManimCommunity/ManimPango

silence flake8

e032b4b167aa97c66ae418a650e85b52dae4b6a3 authored about 3 years ago
Format

882c41185d22003efcefeceafbb25dfe669d6768 authored about 3 years ago
Add `PNGRenderer`

fd5e6208404513b5d3eacdff9132aa12cd3669f0 authored about 3 years ago
Fix tests for the changes in 3739c0412df71033e6bc5f63c0ee7134ee99a5ea

d6aee37b60b30812b240589ba93795c05c62e09b authored about 3 years ago
Fix font size while rendering

PANGO_SCALE needs to be multiplied even while rendering

c1c29e13af7a379772ca41fcf13a9deeb0c24d35 authored about 3 years ago
Add `pango_font_description_set_absolute_size` defn

47c5380da2dd35e0229e358bebe2d3eae8ae0256 authored about 3 years ago
Always multiply font size by PANGO_SCALE

and divide by PANGO_SCALE when getting it
This should make setting font-size actually work

3739c0412df71033e6bc5f63c0ee7134ee99a5ea authored about 3 years ago
Implement a `render()` which will render into an SVG

8a72174ab28c94d73a6afa813ec864d3aac7ba38 authored about 3 years ago
Add some utility function

- to check if cairo context is working fine
- create a font_desc
- convert py font desc to pango...

f24dfc11a44201527894526556bfc83a0848e690 authored about 3 years ago
Store font description inside of layout

that's how it's done in pango

95f758571161aa23c02556f5728997ad92a3635b authored about 3 years ago
WIP: Add support for Renderers

9b17ca588c804c917b095a52dc948d25c3eab0f4 authored about 3 years ago
Merge pull request #87 from naveen521kk/font-properties

New API: FontDescription

954e887c2e418927037b575f480ab13a3f7efd59 authored about 3 years ago
Another fixup for copy

279bb7ae46462ff445c21f93feca3c591d51037d authored about 3 years ago
A small fixup for deepcopy

31e3ec722fd46992839542f1c9be290c3e4d3cdd authored about 3 years ago
`__deepcopy__` -> `__copy__`

c4bf317a92e2bc8c7003922180b72a6a68ba6b41 authored about 3 years ago
Fix checking equality between `FontDescription` objects

0b5bf7813589691a75753fa2650b377229cd4baa authored about 3 years ago
Make FontDescription using pure Python

and the c-implmentation in `_FontDescription`
also add docs

993ca7a735bff11004456760bc5b57548caf6395 authored about 3 years ago
Add some basic docs to `FontDescription`

19fa6a44981d87fa6b8520a76906f12f897c661a authored over 3 years ago
Slight format

f665b30bbc6c11c5f8cff07ee31bc54115e946e0 authored over 3 years ago
Fix some doc string in `enums.pyx`

e32f66170b33be211820d51b53cd28e6d67de542 authored over 3 years ago
Slightly change order of docs

61450ba285c4fe60ec88d619bbdbaae5151b12ed authored over 3 years ago
Slightly edit `fonts` module doc string

151a5eb721a094c518eb47619dd6fb4941ce2f5d authored over 3 years ago
Remove doc string from `.pyi` files

af4d77c6300feac576719629d544d87df1dde829 authored over 3 years ago
Remove a piece of duplicate code

ac650f77085aab1ee9129c112773bb9cf920dc98 authored over 3 years ago
Fix a typo

this resulted in use after free
and caused the tests to fail
on ubuntu

689feb2c409352c28f7c015940da0261b21e0e8f authored over 3 years ago
Fix a small warning

e10450a3c9c3f2b5b97fd90e76584952619caa02 authored over 3 years ago
Fix errors in CI related to lint

e6f6bb67ff765510f8a1dd0a03c29701e10259fd authored over 3 years ago
Fix tests for newer Cairo

newer cairo present in msys2
generates svg which are slightly
different adapt the test suite for...

1fa19a3bd4b3aff37b38dc817a2d09f4f4019618 authored over 3 years ago
Add tests for font_desc

6f74c5a0f37fa816eb2c098afd23b88ac63f043c authored over 3 years ago
Fix a small bug in deepcopy

as well as check if the returned stuff is NULL

d32ff30da237d7ee648434a9bb2054d2fd6a372c authored over 3 years ago
Update annotations

d60a72261d5b500b211615eb028b7f1fd335c3ae authored over 3 years ago
New API: FontDescription

todo: docs, tests

d2e162e64695eba545bf2ffc6f9adbe7030db8da authored over 3 years ago
Merge pull request #86 from naveen521kk/seperate-include-dir

Move all global includes to `manimpango/include`

f960dcaa0602384f0e79f71695e664dbc4b765d5 authored over 3 years ago
Move all global includes to `manimpango/include`

This makes a bit cleaner rather than those files hanging in the root
directory

2d29348bb85b7c971a86352b3188a9246e82a339 authored over 3 years ago
Merge pull request #85 from naveen521kk/layout-api

Layout API

fcee9a4c04900534ced5b2e50f495dfc31f49117 authored over 3 years ago
Remove Alignment docs, nothing is better than something wrong

a353b66d641cb2f0db780cf5d85787de973d8014 authored over 3 years ago
define a `__all__` in utils.py

43710814d9be6f924ed0bcd7665828eca0c8c5fb authored over 3 years ago
Add tests for Layout

68f7b37f654b3c3bfa024a709f81eb1a78e4939b authored over 3 years ago
small fixup

a596325e70c54061601c88d42b5270a04c7c9eae authored over 3 years ago
Import layout globally

c4bb3ea2138a3a42d4450559fe15ce83d09171f0 authored over 3 years ago
lint

fbb02bc72e5c66be514011ae9de48725e183074c authored over 3 years ago
Partial implementation of Layout

1a1801c1123a4d5b02b269b7addac639055f9936 authored over 3 years ago
Add some basic utils and configure

a48f9f667ac123ef186ffc7bbfc1434d7680671b authored over 3 years ago
Include `attributes` in the package

5d16114b17d6f8a6bf621019cc93693abe184fc6 authored over 3 years ago
Merge pull request #84 from naveen521kk/attributes-support

Add support for PangoAttributes

cf9270a7ed2579f3717eeead6e5a0ae26e224df3 authored over 3 years ago
lint

b9696c8b79fd7e6200c5fc44c667ccdc08aed836 authored over 3 years ago
Add a few more attributes

30c6226886861063f571ed16d8b9673aa173e3bc authored over 3 years ago
Use docs/requirements.txt in rtd

dfcd8d26f4327566171ca167294c85066181d4f2 authored over 3 years ago
Improve docs structure

1c5b54e5c6a6e8d054de85c6cdf5381442756e60 authored over 3 years ago
Add background_color attribute

bcc14250a6d2a187152fba2b8408e40bcb3b2ea4 authored over 3 years ago
lint

448283bcbfc60f88a9a3ff0c8291aab42140d89e authored over 3 years ago
Add tests for attributes

ee842daed4f2b1ee4f43b5bcc95c52d25726bc80 authored over 3 years ago
Add few more attributes

11f6a1ea035d93da82ecc949a8cc3bc79f585da3 authored over 3 years ago
Actually include those new classes on docs

754d2ccb66382816cbcec7c06d034b166fc78b52 authored over 3 years ago
Update some docs

cf8c695117061ae586523e54ff0082e17e9bf70b authored over 3 years ago
Initial Setup

412d0ea9b86d74998a715b34631836c8d1816576 authored over 3 years ago
Release v0.4.1

ff6debddf9a2c0ec8c1a5e79d3bf3f63c9b0b4e6 authored over 3 years ago
Merge pull request #82 from ManimCommunity/some-fixes

Don't use copy module in `list_fonts()`

c2b985ee15de15b4afc07e3cc1bff4ac7b23ef4f authored over 3 years ago
Don't use copy module in `list_fonts()`

It's useless because Cython is capable of handling
c-strings which shouldn't be modified. Initia...

3fc04fb0e052ac343b201fcc4bc5f5c1989af8e8 authored over 3 years ago
Use os.fspath instead of str

2ab665dd0f1843abbff1eb322caa54cf703d8332 authored over 3 years ago
Merge pull request #80 from ManimCommunity/fix-wheel-build

Fix wheel build on macOS

4dee30d693504b0bd89e17e4d16951c4087d5090 authored over 3 years ago
build-mac: harbuzz build with glib support

b420c3f78b32b816240113b04cd82fcf35212571 authored over 3 years ago
wheel-build: run of push to fix-wheel-build

7f6761c0d7c317a23824229567a28102086404c4 authored over 3 years ago
Merge pull request #79 from ManimCommunity/ignore-libs

Ignore unix like libraries on MSVC and other changes

227e0fd24aa0c5c5462c3e283fc44b7cc3346dcc authored over 3 years ago
bump pango version to 1.50.5

835aa2514b95aac3be552b1390d59f5bedab1b5d authored over 3 years ago
packing/build_pkgconfig.ps1: pin pip version

See https://github.com/mesonbuild/meson/issues/9955#issuecomment-1030843844

4ccd15a05288188bd9a1b0baabc04632bd26f640 authored over 3 years ago
Ignore unix like libraries on MSVC

When building with Conda, pkg-config returns `-lm` flag which isn't present
on Windows and the c...

2626f085a9dd6b0b97991901b80ed79cdce2ec28 authored over 3 years ago
Release v0.4.0.post2

756dd2ddc2a9ae4c7ee8241f6f9f2d1f794fafde authored over 3 years ago
wheel-build: pango disable xft backend by default (#74)

* wheel-build: Disable xft backend by default

It's useless for us.
Fixes https://github.com...

342a4d940b3cd54d51800c9601fe67b60bdf0a5b authored over 3 years ago
wheels-build: disable xlib backend on cairo also

162830540bc99273142df5e2f096034f465ca94f authored over 3 years ago
wheel-build: pin meson version

d12060394fa30f65bdbfe7c527b4e9fa04dd3de3 authored over 3 years ago
CI: use a old version of mac to test

It should detect issues like https://github.com/ManimCommunity/ManimPango/issues/73

c426a457081235239562bc011e19a20f3ea0ee07 authored over 3 years ago
wheel-build: Disable xft backend by default

It's useless for us.
Fixes https://github.com/ManimCommunity/ManimPango/issues/73

c7762d0316c39d767bb840a7f690489e3a3b837d authored over 3 years ago
Update python versions badge

8e23a38fe7c4935a8048d338be809d91b2c3487f authored over 3 years ago
Release v0.4.0.post1

c956d5f1550e9b17ce0e51eb0f23897b65efab80 authored over 3 years ago
Change to MIT license (#72)

* Change to MIT license

All the authors and contributors have agreed to this change.
Fixes h...

4540b50e3e9b603d660a0c75b09c97e4b7626154 authored over 3 years ago
Update manim discord invite link

6b5837dbdea674dfd81347f3f6b42060d86a9633 authored over 3 years ago
docs: cosmetic change RELEASE.rst

4de455935df3d93f144078959500a16fa098fcf3 authored over 3 years ago
docs: update release docs

This emphasises that the person who releases should actually "draft a new release"
instead of j...

2bac2add789b3ed0c22f82c7b42fcfe5aef65842 authored over 3 years ago
Release v0.4.0.post0

df7905e0fdfd4f747f761bb9e1f7a6461eb925aa authored over 3 years ago
macOS: build a shared library in wheels (#71)

* macOS: build a shared library in wheels
* Add workaround for failing tests in msys2
See http...

089dd6ed88bf8f0e833a309bee157ded91039005 authored over 3 years ago
Release v0.4.0

58f82553ba10a0944960bfe5750b8eb1066cf614 authored over 3 years ago
Merge pull request #68 from ManimCommunity/fix-ci-win

Updates to CI and fix tests

51fccd9e5c4a4c9a7f8d8d6497b238eb55b5c6b4 authored over 3 years ago
bump pango version to 1.50.1

c6c1d1bf995cd8a26735847bdebb3fef1fb5a50f authored over 3 years ago
Apply suggestions from code review

Co-authored-by: Philipp Imhof <[email protected]>

506b163ab1deda99dea694cad3815daaad136086 authored over 3 years ago
Updates to CI and fix tests

- tests: fix test warning, use absolute path
- Don't use `windows-2016` (it's nearing EOL) see #...

fc145f339860d2d5c35842df6e293e9e150d4c77 authored over 3 years ago
Allow passing color to TextSettings (#65)

* Allow passing color to TextSettings

* Add accidentaly removed line

* Validate color pass...

6d3f2225b62e6132d724c5c27ba7a1c240480a88 authored over 3 years ago
Merge pull request #67 from ManimCommunity/fix-tests

Run fonts tests in a subprocess

1c6cfc04994268a9ebd4244040a53b0932730307 authored over 3 years ago
Run fonts tests in a subprocess

This is needed so that tests don't fail when the order of the
tests changes. This happens becaus...

b6618c3d0537fd9ed9c2038c4a427078ed1d9c0c authored over 3 years ago
change my email

62f8b2937096fa3f6fb967a82428713bcd3d1cac authored almost 4 years ago
Release v0.3.1

0a021ec2218419fba0f066486370ebe2c4e85589 authored almost 4 years ago
Bump Pango version

de9f6a200973fbd16136230a7968a4e501e56daa authored almost 4 years ago
CI: Skip cp36

0f3ca23f61ffa9c1d7110ef7c37456f7116dde13 authored almost 4 years ago
Drop support Python 3.6 (#64)

* Drop support Python 3.6

Manim has dropped support for it so we can also drop.

* Add py 3...

e5c300009a84738d8b6a91ca004e241c6006ca9c authored almost 4 years ago
Add py 3.10 to classfiers and change development status to Beta

968fd99de73a606d10d966d571e7521f50317100 authored almost 4 years ago
Drop support Python 3.6

Manim has dropped support for it so we can also drop.

416db7ee9634da2fe8a3782cea06715064bf2dd8 authored almost 4 years ago
Bump Cython version

03c9c28b728d5cee42afe3153ad327a7120e18ac authored almost 4 years ago
Test of Python 3.10

7e864e9264b511b71b2c474a99f27d59333d5986 authored almost 4 years ago
Build 3.10 wheels

395d2e0a061d7646d72f46dd7527b1f935bfaa8e authored almost 4 years ago
Format the error correctly

fe74383f0eeb8424ffa8d0fe242a38d0eeb9f492 authored about 4 years ago