Skip to content

Galvanic cell diagram drawing fails if the font "arial.ttf" does not exist #57

@simeneilevstjonn

Description

@simeneilevstjonn

The galvanic cell drawer assumes there exists a font called "arial.ttf". This is the case on Windows, but not on Linux or Mac, leading to an OSError when attempting to draw such a diagram.

There could perhaps be different fonts based on platform, or might be possible to use the load_default() method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions