Newer versions of weasyprint (53.x) removed their dependency on cairo and do not support PNG exports anymore (see Kozea/WeasyPrint#1232 and https://www.courtbouillon.org/blog/00004-weasyprint-without-cairo-what-s-different)
This breaks some parts of the genalog code, specifically the following methods are affected (as far as I have seen)
|
def render_png(self, target=None, split_pages=False, resolution=300): |
|
def render_array(self, resolution=300, channel="GRAYSCALE"): |
Maybe some warning should be added to the documentation regarding this and what is the plan moving forward.
Thank you :D
Newer versions of weasyprint (53.x) removed their dependency on cairo and do not support PNG exports anymore (see Kozea/WeasyPrint#1232 and https://www.courtbouillon.org/blog/00004-weasyprint-without-cairo-what-s-different)
This breaks some parts of the genalog code, specifically the following methods are affected (as far as I have seen)
genalog/genalog/generation/document.py
Line 97 in b8b9fba
genalog/genalog/generation/document.py
Line 127 in b8b9fba
Maybe some warning should be added to the documentation regarding this and what is the plan moving forward.
Thank you :D