{"action":"created","issue":{"url":"https://api.github.com/repos/bjhamltn/CGM-SVG.NET/issues/1","repository_url":"https://api.github.com/repos/bjhamltn/CGM-SVG.NET","labels_url":"https://api.github.com/repos/bjhamltn/CGM-SVG.NET/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/bjhamltn/CGM-SVG.NET/issues/1/comments","events_url":"https://api.github.com/repos/bjhamltn/CGM-SVG.NET/issues/1/events","html_url":"https://github.com/bjhamltn/CGM-SVG.NET/issues/1","id":186720104,"number":1,"title":"Svg Not getting Created","user":{"login":"snagareddy","id":12997350,"avatar_url":"https://avatars.githubusercontent.com/u/12997350?v=3","gravatar_id":"","url":"https://api.github.com/users/snagareddy","html_url":"https://github.com/snagareddy","followers_url":"https://api.github.com/users/snagareddy/followers","following_url":"https://api.github.com/users/snagareddy/following{/other_user}","gists_url":"https://api.github.com/users/snagareddy/gists{/gist_id}","starred_url":"https://api.github.com/users/snagareddy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snagareddy/subscriptions","organizations_url":"https://api.github.com/users/snagareddy/orgs","repos_url":"https://api.github.com/users/snagareddy/repos","events_url":"https://api.github.com/users/snagareddy/events{/privacy}","received_events_url":"https://api.github.com/users/snagareddy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-02T06:08:07Z","updated_at":"2016-11-11T00:09:30Z","closed_at":null,"body":"Hi, \r\nI was trying to create the Svg from the code. But There is a problem i am facing. Loop is running indefinitely. \r\n\r\n            getNextMetaElement(ref br, ref buffer, out bytesread, ref paramLen, out elemclass, out elemId, out elemName, Cgm_Elements);\r\n\r\n            while (bytesread > 0)\r\n            {\r\n                if (!string.IsNullOrEmpty(elemName))\r\n                //if (elemName != \"\")\r\n                {\r\n                    parseMetaElement(ref br, ref buffer, ref bytesread, ref paramLen, ref elemclass, ref elemId, ref elemName, ref Cgm_Elements, true);\r\n                }\r\n                else\r\n                {\r\n                    getNextMetaElement(ref br, ref buffer, out bytesread, ref paramLen, out elemclass, out elemId, out elemName, Cgm_Elements);\r\n                }\r\n            }           \r\n            br.Close();\r\n\r\n            CGM_t_SVG(Cgm_Elements);  \r\n"},"comment":{"url":"https://api.github.com/repos/bjhamltn/CGM-SVG.NET/issues/comments/259845603","html_url":"https://github.com/bjhamltn/CGM-SVG.NET/issues/1#issuecomment-259845603","issue_url":"https://api.github.com/repos/bjhamltn/CGM-SVG.NET/issues/1","id":259845603,"user":{"login":"bjhamltn","id":984407,"avatar_url":"https://avatars.githubusercontent.com/u/984407?v=3","gravatar_id":"","url":"https://api.github.com/users/bjhamltn","html_url":"https://github.com/bjhamltn","followers_url":"https://api.github.com/users/bjhamltn/followers","following_url":"https://api.github.com/users/bjhamltn/following{/other_user}","gists_url":"https://api.github.com/users/bjhamltn/gists{/gist_id}","starred_url":"https://api.github.com/users/bjhamltn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjhamltn/subscriptions","organizations_url":"https://api.github.com/users/bjhamltn/orgs","repos_url":"https://api.github.com/users/bjhamltn/repos","events_url":"https://api.github.com/users/bjhamltn/events{/privacy}","received_events_url":"https://api.github.com/users/bjhamltn/received_events","type":"User","site_admin":false},"created_at":"2016-11-11T00:09:30Z","updated_at":"2016-11-11T00:09:30Z","body":"Before I was using my locale copy.  When I downloaded a copy of the project from Github I found a issue that my be causing your problem.\r\n\r\nNear line Form1.cs: line 2821 there is a bug.\r\n\r\n```\r\nstring[] cgmElemNames = cgm_struct.cgm_element_names.\r\n    Split(new string[] { \"\\r\\n\" }, StringSplitOptions.RemoveEmptyEntries);\r\n```\r\n\r\n\"\\r\\n\" may not be working.  Instead, split the string using \\n.\r\n\r\nI was able to decode your sample but the font is not accurate and the spacing of rotated text needs adjusting.\r\n"}}
{"actor":{"display_login":"bjhamltn"}}