Skip to content

Commit

Permalink
added log message noting unsupported clipPath tag (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
plammer committed Oct 9, 2019
1 parent 3863ee7 commit ee8fa42
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions library/src/main/java/com/pixplicity/sharp/Sharp.java
Original file line number Diff line number Diff line change
Expand Up @@ -2023,6 +2023,9 @@ public void startElement(String namespaceURI, String localName, String qName, At
mTextStack.push(new SvgText(atts, mTextStack.isEmpty() ? null : mTextStack.peek()));
} else if (!hidden && localName.equals("clipPath")) {
hide();
if (LOG_LEVEL >= LOG_LEVEL_WARN) {
Log.w(TAG, "Unsupported SVG command: " + localName);
}
} else if (!hidden) {
switch (localName) {
case "metadata":
Expand Down

0 comments on commit ee8fa42

Please sign in to comment.