Skip to content
This repository was archived by the owner on Aug 27, 2026. It is now read-only.
/orcaPublic archive
This repository was archived by the owner on Aug 27, 2026. It is now read-only.

Fonts #11

Description

@etpinard

Unfortunately, we'll have to install them on the system, like we currently do here.

I thought that adding something like:

<styletype="text/css">
@import url('https://fonts.googleapis.com/css?family=Open+Sans:600,400,300,200|Droid+Sans|PT+Sans+Narrow|Gravitas+One|Droid+Sans+Mono|Droid+Serif|Raleway|Old+Standard+TT');
</style>

in the SVG's <defs> would work, but no. <img> with SVG src values don't import fonts, so Plotly.toImage fails to render the fonts correctly. See this article for more details.

cc #1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions