Skip to content

Docs: height attribute not honored #4201

Description

@BsAtHome

While browsing the new docs (really nice) it occurred to me that some images are displayed in a different height than specified in the sources.
Noticed when converting PNG into SVG (a chore when I have to take my mind off of things). The following have been converted to SVG. They are from docs/src/motion/5-axis-kinematics.adoc images 1 and 4 (docs/src/motion/5-axis-figures/Figure-[14].svg).
Image
Image

The images are set to height=400 in the adoc:

image::5-axis-figures/Figure-1.png[align="center",height=400]
...
image::5-axis-figures/Figure-4.png[align="center",height=400]

But looking at the result at https://linuxcnc.org/docs/devel/html/en/motion/5-axis-kinematics.html makes them both a lot larger. When the SVGs are inserted, then they only take the SVG's height and don't scale to the height attribute. So both PNG and SVG scale wrongly. What needs to be fixed to do this "right"?

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