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 file is different with other browser. #261

Open
kikokuo opened this issue Sep 1, 2023 · 6 comments
Open

Svg file is different with other browser. #261

kikokuo opened this issue Sep 1, 2023 · 6 comments
Assignees
Labels

Comments

@kikokuo
Copy link

kikokuo commented Sep 1, 2023

Hi,
Again, we found a svg file was different chrome when it display our app.
Could you help us to fix it? thanks.

in our app:
image

in SharpVectors sample App:

image

in chrome:
image

Below is source svg file:
arc-arrow

@paulushub
Copy link
Contributor

@kikokuo In my chrome, it is showing without the arrow. Is this the case at your end?

@kikokuo
Copy link
Author

kikokuo commented Sep 4, 2023

@paulushub
No, it not my case.
My case: The arrow not at right place.
image

In chrom: This is right case.

image

My chrome version:
image

@paulushub
Copy link
Contributor

The version is the same on both my work PCs (running Windows 11 Workstation - English, Windows 10 Pro-Japanese).
Tested in Chrome, Edge, Opera and Firefox and the results are same as shown below:
image

@kikokuo
Copy link
Author

kikokuo commented Sep 4, 2023

@paulushub
Ok, It's my faults. The svg file through drop to upload is wrong,
So, I upload a zip file for you. You can download and test it.
thank you.

arc-arrow.zip

@paulushub paulushub self-assigned this Sep 5, 2023
@paulushub
Copy link
Contributor

Two issues identified:

  1. transformation at root element not applied (looks like SVG 2 feature),
  2. Marker at the end of a curve - must follow the orientation at the end.

(1) Could be easily resolved (I need to find more examples to test and confirm it).
(2) Is a pending marker issue - will look into it.
Current result is shown below:
image

@kikokuo
Copy link
Author

kikokuo commented Sep 6, 2023

Two issues identified:

  1. transformation at root element not applied (looks like SVG 2 feature),
  2. Marker at the end of a curve - must follow the orientation at the end.

(1) Could be easily resolved (I need to find more examples to test and confirm it). (2) Is a pending marker issue - will look into it. Current result is shown below: image

Sure, you can follow your schedule to fix this issue.

paulushub added a commit that referenced this issue Oct 2, 2023
- partial fix for the #261, marker for curves not implemented
- initial fix for the #262, fixes the resolution of URL in entities
@paulushub paulushub added the task label Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants