Skip to content

Fix generating fields color to proper rendering svg->pdf for asciidoc flow #36

@iDoka

Description

@iDoka

The both, wavedrom and wavedrompy use hsl representation of colors for bitfield functionaluty.
It seems asciidoctor flow doesn't support hsl in svg well.

The svg files from wavedrom and wavedrompy rendering in Chrome:

Screenshot from 2022-04-07 21-56-39
Screenshot from 2022-04-07 21-56-30

The same svg from wavedrom and wavedrompy build in asciidoc and finally rendered as PDF:

Screenshot from 2022-04-07 21-55-47

I tried to make tiny fix to convert HSL->RGB:

Screenshot from 2022-04-08 16-08-30

iDoka@90dffcd

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