Skip to content

genalog does not work with newer versions of weasyprint #48

@pedromb

Description

@pedromb

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions