-
Notifications
You must be signed in to change notification settings - Fork 23
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
H/V_LINE_TO commands can have two coordinates #42
Comments
Specifically, some SVGs generate commands in .icon files like "R_V_LINE_TO, -9, 9,". This causes a NOTREACHED() in paint_vector_icon.cc: #0 0x7f1eaf424a4c base::debug::CollectStackTrace() |
SVG's horizontal/vertical lineto commands may have multiple coordinates (although the spec caveats that "usually this doesn't make sense"). Skiafy will convert those to V/H_LINE_TO commands with up to two coordinates. But Chromium thinks they may have only one: https://source.chromium.org/chromium/chromium/src/+/main:ui/gfx/paint_vector_icon.cc;l=114-119;drc=3e1a26c44c024d97dc9a4c09bbc6a2365398ca2c
The text was updated successfully, but these errors were encountered: