Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SVG not correctly loaded #2139

Open
Knut-HH opened this issue Oct 10, 2023 · 3 comments
Open

SVG not correctly loaded #2139

Knut-HH opened this issue Oct 10, 2023 · 3 comments

Comments

@Knut-HH
Copy link

Knut-HH commented Oct 10, 2023

Just wanted to cut this logo: https://www.maerklin.de/typo3conf/ext/torr_template/Resources/Public/img/logo.svg

It loads correct in Inkscape, for example. But in LaserGRBL 5.4.0 the "m" in the logo is somewhat garbled.
2023-10-10 16_12_50-Window

@Knut-HH
Copy link
Author

Knut-HH commented Jan 24, 2024

Utensil2-normal
Attached file isn't loaded at all, Workspace stays blank.
Created with inkscape, neither "Inkscape-SVG" nor "Plain SVG" is loaded by LaserGRBL.
Inkscape loads this file just fine.

@svenhb
Copy link

svenhb commented Jan 24, 2024

This block is not working, because it is not correct SVG (line 119 - 132) if you remove it, it should work:
(path elements doesn't have width and height)

    <path
       style="fill:none;stroke:#000000;stroke-width:0.971339"
       id="rect48"
       height="285.69827"
       x="5.5408549"
       y="787.72485"
       width="0" />
    <path
       style="fill:none;stroke:#000000;stroke-width:0.971339"
       id="rect3"
       width="314.12787"
       x="78.495445"
       y="199.47078"
       height="0" />

@svenhb
Copy link

svenhb commented Jan 24, 2024

The real problem is the missing "d" attribute in the Path element.
Most likely someone replaced the rect element with "path" in this blocks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants