todo notes and some minor svg edits

This commit is contained in:
benfry
2010-06-05 19:34:10 +00:00
parent 3702566ed0
commit 1d8442d6b1
2 changed files with 28 additions and 0 deletions
@@ -257,6 +257,15 @@ public class PShapeSVG extends PShape {
element = properties;
name = properties.getStringAttribute("id");
// @#$(* adobe illustrator
if (name != null) {
while (true) {
String[] m = PApplet.match(name, "_x(.*)_");
if (m == null) break;
char repair = (char) PApplet.unhex(m[1]);
name = name.replace(m[0], "" + repair);
}
}
String displayStr = properties.getStringAttribute("display", "inline");
visible = !displayStr.equals("none");
@@ -355,6 +364,9 @@ public class PShapeSVG extends PShape {
} else if (name.equals("mask")) {
PGraphics.showWarning("Masks are not supported.");
} else if (name.equals("sodipodi:namedview")) {
// these are always in Inkscape files, the warnings get tedious
} else {
PGraphics.showWarning("Ignoring <" + name + "> tag.");
}
+16
View File
@@ -1,6 +1,22 @@
0185 android
X fix two bugs with fonts created with specific charsets
X fix for adobe illustrator-mangled svg id names with hex characters
_ need to side-port changes from PShape/SVG over to Android
_ image() problems (includes sketch)
_ http://dev.processing.org/bugs/show_bug.cgi?id=1565
_ move to Android 2.1 as the minimum requirement?
_ since 2.0.1 seems to be used on only a 0.46% of devices?
_ http://developer.android.com/resources/dashboard/platform-versions.html
_ add registered methods again
_ need to figure out generic event queueing first
_ may need a different subset of methods, and introduce new ones
_ that will be usable on both android and desktop
_ add line for export in libraries to say whether they're compatible
_ even just 'android=' will be ok
_ possibility of doing a compile (not run) using straight javac?
_ this would be a faster way to check for errors