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

After saving as an image, the arrow has shifted #8009

Open
LOVETOO opened this issue May 12, 2024 · 2 comments
Open

After saving as an image, the arrow has shifted #8009

LOVETOO opened this issue May 12, 2024 · 2 comments

Comments

@LOVETOO
Copy link

LOVETOO commented May 12, 2024

20240512142900

@dwelle
Copy link
Member

dwelle commented May 12, 2024

Hi, this is on excalidraw.com? Can you consistently reproduce this after saving to PNG?

@misterkiem
Copy link

Hello, I can reproduce this issue. A bit of a frustrating discovery for me, as this was my first time using excalidraw and I am using it for a school project!

here it is on excalidraw.com: (excuse the messy wireframe):
image

here is the the png:
image

here it is exported as an svg (arrows are correct):
image

The snippet I took uses an example with multiple overlapping arrows to demonstrate the issue most clearly. There are other places where the arrow is originating from a button that gets shifted to the wrong button, or where I have lines merging together that get thrown off, so the exported png is pretty much unusable for me.

For my personal use case my school will accept an svg. However I am slightly worried because of the way fonts are embedded in svgs, if they open the svg in an image editor (rather than browser), it seems like the Virgil font won't carry over. This also presents an issue for me, as the fallback font will throw off spacing / sizing of containers in my wireframe.

Is there a workaround to get the svg to have the Virgil font embedded so that I can be 100% sure that the correct font will display on all software that opens the svg?

I've included a zip with the source .excalidraw as well as the exported .svg and .png files

wireframe.zip

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

3 participants