Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 108
Open
Labels
has attachmentAttachment was not transfered from GitLabAttachment was not transfered from GitLabhelp wantedExtra attention is neededExtra attention is needed
Description
Created by: benfry
Re-saving the SVG in 1.0 format with Illustrator instead of 1.1 will fix the issue, but the problem seems to be that a leading . in the SVG path code won't render properly, for instance:
M3,.6– parse toM,3,.6(may be fixed with 9ef40ba)M.6.7– parse toM,.6, and.7- …etc
This caused a problem with the variable icons, which was fixed commit 805306f, so using the previous version of the SVGs should do the trick for testing.
Test code:
staticfinalString[] names ={"array", "boolean", "byte", "char", "double", "float", "integer", "long", "object", "short", "string" }; voidsetup(){size(250, 550); textAlign(LEFT, CENTER); textSize(24); fill(0); int each =50; int pos =0; for (String name : names){PShape s =loadShape(name +".svg"); shape(s, 0, pos, each, each); text(name, 60, pos + each/2); pos += each} saveFrame("issue.png")}Metadata
Metadata
Assignees
Labels
has attachmentAttachment was not transfered from GitLabAttachment was not transfered from GitLabhelp wantedExtra attention is neededExtra attention is needed
