{"action":"created","issue":{"url":"https://api.github.com/repos/CindyJS/CindyJS/issues/145","repository_url":"https://api.github.com/repos/CindyJS/CindyJS","labels_url":"https://api.github.com/repos/CindyJS/CindyJS/issues/145/labels{/name}","comments_url":"https://api.github.com/repos/CindyJS/CindyJS/issues/145/comments","events_url":"https://api.github.com/repos/CindyJS/CindyJS/issues/145/events","html_url":"https://github.com/CindyJS/CindyJS/pull/145","id":121605883,"number":145,"title":"Change default text size","user":{"login":"gagern","id":190759,"avatar_url":"https://avatars.githubusercontent.com/u/190759?v=3","gravatar_id":"","url":"https://api.github.com/users/gagern","html_url":"https://github.com/gagern","followers_url":"https://api.github.com/users/gagern/followers","following_url":"https://api.github.com/users/gagern/following{/other_user}","gists_url":"https://api.github.com/users/gagern/gists{/gist_id}","starred_url":"https://api.github.com/users/gagern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gagern/subscriptions","organizations_url":"https://api.github.com/users/gagern/orgs","repos_url":"https://api.github.com/users/gagern/repos","events_url":"https://api.github.com/users/gagern/events{/privacy}","received_events_url":"https://api.github.com/users/gagern/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CindyJS/CindyJS/labels/Cinderella%20compat.","name":"Cinderella compat.","color":"0052cc"},{"url":"https://api.github.com/repos/CindyJS/CindyJS/labels/incompatible","name":"incompatible","color":"cc3300"}],"state":"closed","locked":false,"assignee":{"login":"richter-gebert","id":14206484,"avatar_url":"https://avatars.githubusercontent.com/u/14206484?v=3","gravatar_id":"","url":"https://api.github.com/users/richter-gebert","html_url":"https://github.com/richter-gebert","followers_url":"https://api.github.com/users/richter-gebert/followers","following_url":"https://api.github.com/users/richter-gebert/following{/other_user}","gists_url":"https://api.github.com/users/richter-gebert/gists{/gist_id}","starred_url":"https://api.github.com/users/richter-gebert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richter-gebert/subscriptions","organizations_url":"https://api.github.com/users/richter-gebert/orgs","repos_url":"https://api.github.com/users/richter-gebert/repos","events_url":"https://api.github.com/users/richter-gebert/events{/privacy}","received_events_url":"https://api.github.com/users/richter-gebert/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/CindyJS/CindyJS/milestones/1","html_url":"https://github.com/CindyJS/CindyJS/milestones/v1.0.0","labels_url":"https://api.github.com/repos/CindyJS/CindyJS/milestones/1/labels","id":1383222,"number":1,"title":"v1.0.0","description":"Version 1.0.0 would be the first official release. CindyJS should from then on follow [semantic versioning](http://semver.org/).","creator":{"login":"gagern","id":190759,"avatar_url":"https://avatars.githubusercontent.com/u/190759?v=3","gravatar_id":"","url":"https://api.github.com/users/gagern","html_url":"https://github.com/gagern","followers_url":"https://api.github.com/users/gagern/followers","following_url":"https://api.github.com/users/gagern/following{/other_user}","gists_url":"https://api.github.com/users/gagern/gists{/gist_id}","starred_url":"https://api.github.com/users/gagern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gagern/subscriptions","organizations_url":"https://api.github.com/users/gagern/orgs","repos_url":"https://api.github.com/users/gagern/repos","events_url":"https://api.github.com/users/gagern/events{/privacy}","received_events_url":"https://api.github.com/users/gagern/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":27,"state":"open","created_at":"2015-10-29T11:06:50Z","updated_at":"2016-05-19T14:33:19Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-12-11T00:01:58Z","updated_at":"2016-05-19T14:33:19Z","closed_at":"2016-05-19T14:33:19Z","pull_request":{"url":"https://api.github.com/repos/CindyJS/CindyJS/pulls/145","html_url":"https://github.com/CindyJS/CindyJS/pull/145","diff_url":"https://github.com/CindyJS/CindyJS/pull/145.diff","patch_url":"https://github.com/CindyJS/CindyJS/pull/145.patch"},"body":"This changes the default text for `drawtext` from 20 to 12, since that's what Cinderella uses. Adding `drawtext(20)` to the move or draw script (but not the init script!) can restore the old behavior, as was done with the examples.\r\n\r\nThere is also a new setting `defaultAppearance.textsize` which controls the text size for geometric elements, like labels for points. These could only be set per element so far, with the default being fixed at 12.\r\n\r\n@richter-gebert, please have a look at this, either merge it yourself or delegate to e.g. @strobelm if the general approach is OK. And be prepared to change all existing content outside this repository which makes use of `drawtext` with no accompanying `textsize` call or `size->` modifier.\r\n\r\nThis pull request addresses #49, but doesn't unify the font family yet."},"comment":{"url":"https://api.github.com/repos/CindyJS/CindyJS/issues/comments/220342759","html_url":"https://github.com/CindyJS/CindyJS/pull/145#issuecomment-220342759","issue_url":"https://api.github.com/repos/CindyJS/CindyJS/issues/145","id":220342759,"user":{"login":"gagern","id":190759,"avatar_url":"https://avatars.githubusercontent.com/u/190759?v=3","gravatar_id":"","url":"https://api.github.com/users/gagern","html_url":"https://github.com/gagern","followers_url":"https://api.github.com/users/gagern/followers","following_url":"https://api.github.com/users/gagern/following{/other_user}","gists_url":"https://api.github.com/users/gagern/gists{/gist_id}","starred_url":"https://api.github.com/users/gagern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gagern/subscriptions","organizations_url":"https://api.github.com/users/gagern/orgs","repos_url":"https://api.github.com/users/gagern/repos","events_url":"https://api.github.com/users/gagern/events{/privacy}","received_events_url":"https://api.github.com/users/gagern/received_events","type":"User","site_admin":false},"created_at":"2016-05-19T14:33:19Z","updated_at":"2016-05-19T14:33:19Z","body":"Closing in favor of #345 which takes approach 2."}}