SharpVectors icon indicating copy to clipboard operation
SharpVectors copied to clipboard

Svg file is different with other browser.

Open kikokuo opened this issue 2 years ago • 6 comments

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

kikokuo avatar Sep 01 '23 07:09 kikokuo

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

paulushub avatar Sep 03 '23 17:09 paulushub

@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

kikokuo avatar Sep 04 '23 01:09 kikokuo

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

paulushub avatar Sep 04 '23 01:09 paulushub

@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

kikokuo avatar Sep 04 '23 01:09 kikokuo

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

paulushub avatar Sep 05 '23 17:09 paulushub

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.

kikokuo avatar Sep 06 '23 01:09 kikokuo