{"action":"created","issue":{"url":"https://api.github.com/repos/xogeny/ModelicaBook/issues/257","labels_url":"https://api.github.com/repos/xogeny/ModelicaBook/issues/257/labels{/name}","comments_url":"https://api.github.com/repos/xogeny/ModelicaBook/issues/257/comments","events_url":"https://api.github.com/repos/xogeny/ModelicaBook/issues/257/events","html_url":"https://github.com/xogeny/ModelicaBook/issues/257","id":103674416,"number":257,"title":"Solution for broken icon images needed","user":{"login":"dietmarw","id":9332,"avatar_url":"https://avatars.githubusercontent.com/u/9332?v=3","gravatar_id":"","url":"https://api.github.com/users/dietmarw","html_url":"https://github.com/dietmarw","followers_url":"https://api.github.com/users/dietmarw/followers","following_url":"https://api.github.com/users/dietmarw/following{/other_user}","gists_url":"https://api.github.com/users/dietmarw/gists{/gist_id}","starred_url":"https://api.github.com/users/dietmarw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dietmarw/subscriptions","organizations_url":"https://api.github.com/users/dietmarw/orgs","repos_url":"https://api.github.com/users/dietmarw/repos","events_url":"https://api.github.com/users/dietmarw/events{/privacy}","received_events_url":"https://api.github.com/users/dietmarw/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/xogeny/ModelicaBook/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/xogeny/ModelicaBook/labels/Graphics","name":"Graphics","color":"fef2c0"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-28T08:51:26Z","updated_at":"2015-09-22T10:17:28Z","closed_at":"2015-09-22T09:55:34Z","body":"The current way to create the images of the icons is by the help of the OMC internal script `share/doc/omc/testmodels/generate_icons.py`. The problem is that that script has not received much love and care lately. Even worse the output of that script changes over time and not in a good way.\r\n\r\nAt the same time OMEdit itself now renders the icons correctly. But according to @sjoelund that part of OMEdit can currently not be scripted (@adeas31 might perhaps have an idea how one could use that?). \r\n\r\nNow a workaround would be to generate the used Icon images manually with OMEdit and then add them to the repo. Those images don't change much anyway and the danger of breaking the output between `make` runs is also reduced. Of course it's no longer a nice fancy build process. "},"comment":{"url":"https://api.github.com/repos/xogeny/ModelicaBook/issues/comments/142239130","html_url":"https://github.com/xogeny/ModelicaBook/issues/257#issuecomment-142239130","issue_url":"https://api.github.com/repos/xogeny/ModelicaBook/issues/257","id":142239130,"user":{"login":"dietmarw","id":9332,"avatar_url":"https://avatars.githubusercontent.com/u/9332?v=3","gravatar_id":"","url":"https://api.github.com/users/dietmarw","html_url":"https://github.com/dietmarw","followers_url":"https://api.github.com/users/dietmarw/followers","following_url":"https://api.github.com/users/dietmarw/following{/other_user}","gists_url":"https://api.github.com/users/dietmarw/gists{/gist_id}","starred_url":"https://api.github.com/users/dietmarw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dietmarw/subscriptions","organizations_url":"https://api.github.com/users/dietmarw/orgs","repos_url":"https://api.github.com/users/dietmarw/repos","events_url":"https://api.github.com/users/dietmarw/events{/privacy}","received_events_url":"https://api.github.com/users/dietmarw/received_events","type":"User","site_admin":false},"created_at":"2015-09-22T10:17:28Z","updated_at":"2015-09-22T10:17:28Z","body":"I think the diagrams are fine. I thought I checked."}}