fix(anatomy): V1-2.2 refuse arc radii browsers read as zero
Security review of the interior rule: an arc radius below f32 precision was scaled by the core to a half disc the browser never fills. Nonzero radii below 2^-20 make the path unreadable; arcs add their f32 drift to the chord deviation; tracing stops past the vertex cap; a path without outline is refused.
This commit is contained in:
1 parent
8dd2d78d38
commit
03be75beed
6 files changed
+126
-29
No files matched your search
@@ -129,7 +129,7 @@
|
||||
"widest": {
|
||||
"x": 65.0,
|
||||
"y": 65.0,
|
||||
"r": 1.0
|
||||
"r": 0.999
|
||||
},
|
||||
"svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 286 310\"><g><path d=\"M0 0h1\"/></g><g data-layer=\"annotations\" data-view-id=\"main\"><path d=\"M40 40A35 1 45 0 1 90 90A35 1 45 0 1 40 40Z\" fill=\"#888888\" stroke=\"#888888\" fill-opacity=\"0.3\" stroke-width=\"2\" pointer-events=\"all\" style=\"cursor:pointer\" data-anno-id=\"shape\" data-anno-kind=\"zone\" data-anno-lateral=\"unpaired\" data-anno-name-fr=\"Jarret\" data-anno-name-en=\"Jarret\"><title>Jarret / Jarret</title></path></g></svg>"
|
||||
},
|
||||
@@ -158,6 +158,15 @@
|
||||
"r": 1.905
|
||||
},
|
||||
"svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 286 310\"><g><path d=\"M0 0h1\"/></g><g data-layer=\"annotations\" data-view-id=\"main\"><polygon points=\"40,45.716 46.6,45.716 43.3,40\" fill=\"#888888\" stroke=\"#888888\" fill-opacity=\"0.3\" stroke-width=\"2\" pointer-events=\"all\" style=\"cursor:pointer\" data-anno-id=\"shape\" data-anno-kind=\"zone\" data-anno-lateral=\"unpaired\" data-anno-name-fr=\"Jarret\" data-anno-name-en=\"Jarret\"><title>Jarret / Jarret</title></polygon></g></svg>"
|
||||
},
|
||||
{
|
||||
"name": "arc-radius-1e-49",
|
||||
"accepted": false,
|
||||
"codes": [
|
||||
"annotation.geometry.out_of_frame"
|
||||
],
|
||||
"widest": null,
|
||||
"svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 286 310\"><g><path d=\"M0 0h1\"/></g><g data-layer=\"annotations\" data-view-id=\"main\"><path d=\"M40 50A1e-49 1e-49 0 0 1 90 50Z\" fill=\"#888888\" stroke=\"#888888\" fill-opacity=\"0.3\" stroke-width=\"2\" pointer-events=\"all\" style=\"cursor:pointer\" data-anno-id=\"shape\" data-anno-kind=\"zone\" data-anno-lateral=\"unpaired\" data-anno-name-fr=\"Jarret\" data-anno-name-en=\"Jarret\"><title>Jarret / Jarret</title></path></g></svg>"
|
||||
}
|
||||
],
|
||||
"equine": [
|
||||
|
||||
Reference in new issue
Block a user