{"action":"opened","issue":{"url":"https://api.github.com/repos/inloop/svg2android/issues/79","repository_url":"https://api.github.com/repos/inloop/svg2android","labels_url":"https://api.github.com/repos/inloop/svg2android/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/inloop/svg2android/issues/79/comments","events_url":"https://api.github.com/repos/inloop/svg2android/issues/79/events","html_url":"https://github.com/inloop/svg2android/issues/79","id":225021132,"number":79,"title":"Android svgs do not support scientific notation","user":{"login":"RicardoTrindade","id":13217751,"avatar_url":"https://avatars3.githubusercontent.com/u/13217751?v=3","gravatar_id":"","url":"https://api.github.com/users/RicardoTrindade","html_url":"https://github.com/RicardoTrindade","followers_url":"https://api.github.com/users/RicardoTrindade/followers","following_url":"https://api.github.com/users/RicardoTrindade/following{/other_user}","gists_url":"https://api.github.com/users/RicardoTrindade/gists{/gist_id}","starred_url":"https://api.github.com/users/RicardoTrindade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RicardoTrindade/subscriptions","organizations_url":"https://api.github.com/users/RicardoTrindade/orgs","repos_url":"https://api.github.com/users/RicardoTrindade/repos","events_url":"https://api.github.com/users/RicardoTrindade/events{/privacy}","received_events_url":"https://api.github.com/users/RicardoTrindade/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-28T09:03:57Z","updated_at":"2017-04-28T09:03:57Z","closed_at":null,"body":"When converting from and svg to xml code the output contained a really small value \r\n\r\n`<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<vector xmlns:android=\"http://schemas.android.com/apk/res/android\"\r\n    android:width=\"24dp\"\r\n    android:height=\"24dp\"\r\n    android:viewportWidth=\"24\"\r\n    android:viewportHeight=\"24\">\r\n\r\n    <path\r\n        android:fillColor=\"#FC59D8\"\r\n        android:fillAlpha=\"0\"\r\n        android:strokeWidth=\"1\"\r\n        android:pathData=\"M -4.54747351e-13 0 H 24 V 24 H -4.54747351e-13 V 0 Z\" />\r\n    <path\r\n        android:fillColor=\"#041520\"\r\n        android:strokeWidth=\"1\"\r\n        android:pathData=\"M9.0583115,11.5602833 C9.81198399,12.9461192 10.885289,14 12,14 C14.0714951,14\r\n16,10.3605585 16,7.71462251 C16,5.7299539 14.2,4 12,4 L12,7.00497092\r\nC12,9.03219304 10.7937173,10.7773538 9.0583115,11.5602833 Z\r\nM8.65223092,14.3970206 C6.61493842,15.0109881 4.89627335,15.8884091\r\n4.89627335,15.8884091 C4.40127525,16.122628 3.88528728,16.7355031\r\n3.73726177,17.2813472 L3,20 L21,20 L20.2627382,17.2813472 C20.1176319,16.7462677\r\n19.5951785,16.1163292 19.1037266,15.8884091 C19.1037266,15.8884091\r\n17.3850616,15.0109881 15.3477691,14.3970206 C14.3931377,15.376638 13.24225,16\r\n12,16 C10.75775,16 9.60686225,15.376638 8.65223092,14.3970206 Z\" />\r\n    <path\r\n        android:fillColor=\"#BEC2C5\"\r\n        android:strokeWidth=\"1\"\r\n        android:pathData=\"M0,3.00032973 C0,1.34329338 1.3486445,0 3.00032973,0 L6.99967027,0 C8.65670662,0\r\n10,1.3486445 10,3.00032973 L10,6.99967027 C10,8.65670662 8.6513555,10\r\n6.99967027,10 L3.00032973,10 C1.34329338,10 0,8.6513555 0,6.99967027\r\nL0,3.00032973 Z M5.75,4.25 L5.75,2 L4.25,2 L4.25,4.25 L2,4.25 L2,5.75 L4.25,5.75\r\nL4.25,8 L5.75,8 L5.75,5.75 L8,5.75 L8,4.25 L5.75,4.25 Z\" />\r\n</vector>`\r\n The value is -4.4e-13.\r\n Turns out that Android does not support values with scientific notation and had to change these values to 0.\r\nThis issue was already here but was closed though"}}
{"actor":{"display_login":"RicardoTrindade"}}