{"action":"closed","number":644,"pull_request":{"url":"https://api.github.com/repos/googlei18n/noto-fonts/pulls/644","id":62987278,"html_url":"https://github.com/googlei18n/noto-fonts/pull/644","diff_url":"https://github.com/googlei18n/noto-fonts/pull/644.diff","patch_url":"https://github.com/googlei18n/noto-fonts/pull/644.patch","issue_url":"https://api.github.com/repos/googlei18n/noto-fonts/issues/644","number":644,"state":"closed","locked":false,"title":"Swap glyphs for U+03C6 (phi) and U+03D5 (phi1) in NotoSerif","user":{"login":"jungshik","id":8578343,"avatar_url":"https://avatars.githubusercontent.com/u/8578343?v=3","gravatar_id":"","url":"https://api.github.com/users/jungshik","html_url":"https://github.com/jungshik","followers_url":"https://api.github.com/users/jungshik/followers","following_url":"https://api.github.com/users/jungshik/following{/other_user}","gists_url":"https://api.github.com/users/jungshik/gists{/gist_id}","starred_url":"https://api.github.com/users/jungshik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jungshik/subscriptions","organizations_url":"https://api.github.com/users/jungshik/orgs","repos_url":"https://api.github.com/users/jungshik/repos","events_url":"https://api.github.com/users/jungshik/events{/privacy}","received_events_url":"https://api.github.com/users/jungshik/received_events","type":"User","site_admin":false},"body":"This is a hot fix for Greek Small Letter Phi (U+03C6) and\r\nGreek Pi Symbol (U+03D5) by swapping them.\r\n\r\nVersion number was bumped for\r\nNotoSerif-{Regular,Bold,Italic,BoldItalic} in hinted/ and unhinted/\r\nfrom 1.05 to 1.06 except for hinted/NotoSerif-Italic the version # of which was bumped\r\nfrom 1.06 to 1.07.\r\n\r\nThe following script was used:\r\n\r\n```python\r\nfrom fontTools import ttLib\r\nfrom nototools import font_data\r\n\r\n# a quick and dirty version update\r\ndef make_version_str(revision):\r\n  revision_int = int(revision)\r\n  revision_frac = int(round((revision - revision_int) * 100))\r\n  return 'Version ' + str(int(revision)) + '.' +  str(revision_frac).zfill(2)\r\n\r\ndef bump_version(font):\r\n  _VERSION_ID = 5\r\n  revision = font['head'].fontRevision\r\n  version_str = make_version_str(revision)\r\n  new_revision = float(int(round(revision*100)) + 1) / 100\r\n  new_version_str = make_version_str(new_revision)\r\n  print \" \" + version_str + \" => \" + new_version_str\r\n  font['head'].fontRevision = new_revision\r\n  version_id = font_data.get_name_records(font)[_VERSION_ID]\r\n  new_version_id = new_version_str + version_id[len(version_str):]\r\n  font_data.set_name_record(font, _VERSION_ID, new_version_id,\r\n                            addIfMissing='win')\r\n\r\n\r\nvariants = [\"Regular\", \"Bold\", \"Italic\", \"BoldItalic\"]\r\n\r\nfor v in variants:\r\n  font = ttLib.TTFont('NotoSerif-%s.ttf' % v)\r\n  glyf_table = font['glyf']\r\n  phi = glyf_table['phi']   # U+03C6\r\n  phi1 = glyf_table['phi1'] # U+03D5\r\n  glyf_table['phi'] = phi1\r\n  glyf_table['phi1'] = phi\r\n  bump_version(font)\r\n  font.save('NotoSerif_fixed-%s.ttf' % v)\r\n```\r\n\r\nFix #533 and #512","created_at":"2016-03-15T22:26:25Z","updated_at":"2016-03-15T23:18:42Z","closed_at":"2016-03-15T23:18:42Z","merged_at":"2016-03-15T23:18:42Z","merge_commit_sha":"49ae1c1b8d147a640683d4bbecd0e043ea7f2e3d","assignee":{"login":"dougfelt","id":9939212,"avatar_url":"https://avatars.githubusercontent.com/u/9939212?v=3","gravatar_id":"","url":"https://api.github.com/users/dougfelt","html_url":"https://github.com/dougfelt","followers_url":"https://api.github.com/users/dougfelt/followers","following_url":"https://api.github.com/users/dougfelt/following{/other_user}","gists_url":"https://api.github.com/users/dougfelt/gists{/gist_id}","starred_url":"https://api.github.com/users/dougfelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dougfelt/subscriptions","organizations_url":"https://api.github.com/users/dougfelt/orgs","repos_url":"https://api.github.com/users/dougfelt/repos","events_url":"https://api.github.com/users/dougfelt/events{/privacy}","received_events_url":"https://api.github.com/users/dougfelt/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/googlei18n/noto-fonts/pulls/644/commits","review_comments_url":"https://api.github.com/repos/googlei18n/noto-fonts/pulls/644/comments","review_comment_url":"https://api.github.com/repos/googlei18n/noto-fonts/pulls/comments{/number}","comments_url":"https://api.github.com/repos/googlei18n/noto-fonts/issues/644/comments","statuses_url":"https://api.github.com/repos/googlei18n/noto-fonts/statuses/0af3d5fd0830eaeb1825044b2f4c04125eacf08f","head":{"label":"googlei18n:fix_phi_serif","ref":"fix_phi_serif","sha":"0af3d5fd0830eaeb1825044b2f4c04125eacf08f","user":{"login":"googlei18n","id":5503833,"avatar_url":"https://avatars.githubusercontent.com/u/5503833?v=3","gravatar_id":"","url":"https://api.github.com/users/googlei18n","html_url":"https://github.com/googlei18n","followers_url":"https://api.github.com/users/googlei18n/followers","following_url":"https://api.github.com/users/googlei18n/following{/other_user}","gists_url":"https://api.github.com/users/googlei18n/gists{/gist_id}","starred_url":"https://api.github.com/users/googlei18n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/googlei18n/subscriptions","organizations_url":"https://api.github.com/users/googlei18n/orgs","repos_url":"https://api.github.com/users/googlei18n/repos","events_url":"https://api.github.com/users/googlei18n/events{/privacy}","received_events_url":"https://api.github.com/users/googlei18n/received_events","type":"Organization","site_admin":false},"repo":{"id":37085010,"name":"noto-fonts","full_name":"googlei18n/noto-fonts","owner":{"login":"googlei18n","id":5503833,"avatar_url":"https://avatars.githubusercontent.com/u/5503833?v=3","gravatar_id":"","url":"https://api.github.com/users/googlei18n","html_url":"https://github.com/googlei18n","followers_url":"https://api.github.com/users/googlei18n/followers","following_url":"https://api.github.com/users/googlei18n/following{/other_user}","gists_url":"https://api.github.com/users/googlei18n/gists{/gist_id}","starred_url":"https://api.github.com/users/googlei18n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/googlei18n/subscriptions","organizations_url":"https://api.github.com/users/googlei18n/orgs","repos_url":"https://api.github.com/users/googlei18n/repos","events_url":"https://api.github.com/users/googlei18n/events{/privacy}","received_events_url":"https://api.github.com/users/googlei18n/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/googlei18n/noto-fonts","description":" Noto fonts, except for CJK and emoji","fork":false,"url":"https://api.github.com/repos/googlei18n/noto-fonts","forks_url":"https://api.github.com/repos/googlei18n/noto-fonts/forks","keys_url":"https://api.github.com/repos/googlei18n/noto-fonts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/googlei18n/noto-fonts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/googlei18n/noto-fonts/teams","hooks_url":"https://api.github.com/repos/googlei18n/noto-fonts/hooks","issue_events_url":"https://api.github.com/repos/googlei18n/noto-fonts/issues/events{/number}","events_url":"https://api.github.com/repos/googlei18n/noto-fonts/events","assignees_url":"https://api.github.com/repos/googlei18n/noto-fonts/assignees{/user}","branches_url":"https://api.github.com/repos/googlei18n/noto-fonts/branches{/branch}","tags_url":"https://api.github.com/repos/googlei18n/noto-fonts/tags","blobs_url":"https://api.github.com/repos/googlei18n/noto-fonts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/googlei18n/noto-fonts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/googlei18n/noto-fonts/git/refs{/sha}","trees_url":"https://api.github.com/repos/googlei18n/noto-fonts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/googlei18n/noto-fonts/statuses/{sha}","languages_url":"https://api.github.com/repos/googlei18n/noto-fonts/languages","stargazers_url":"https://api.github.com/repos/googlei18n/noto-fonts/stargazers","contributors_url":"https://api.github.com/repos/googlei18n/noto-fonts/contributors","subscribers_url":"https://api.github.com/repos/googlei18n/noto-fonts/subscribers","subscription_url":"https://api.github.com/repos/googlei18n/noto-fonts/subscription","commits_url":"https://api.github.com/repos/googlei18n/noto-fonts/commits{/sha}","git_commits_url":"https://api.github.com/repos/googlei18n/noto-fonts/git/commits{/sha}","comments_url":"https://api.github.com/repos/googlei18n/noto-fonts/comments{/number}","issue_comment_url":"https://api.github.com/repos/googlei18n/noto-fonts/issues/comments{/number}","contents_url":"https://api.github.com/repos/googlei18n/noto-fonts/contents/{+path}","compare_url":"https://api.github.com/repos/googlei18n/noto-fonts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/googlei18n/noto-fonts/merges","archive_url":"https://api.github.com/repos/googlei18n/noto-fonts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/googlei18n/noto-fonts/downloads","issues_url":"https://api.github.com/repos/googlei18n/noto-fonts/issues{/number}","pulls_url":"https://api.github.com/repos/googlei18n/noto-fonts/pulls{/number}","milestones_url":"https://api.github.com/repos/googlei18n/noto-fonts/milestones{/number}","notifications_url":"https://api.github.com/repos/googlei18n/noto-fonts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/googlei18n/noto-fonts/labels{/name}","releases_url":"https://api.github.com/repos/googlei18n/noto-fonts/releases{/id}","deployments_url":"https://api.github.com/repos/googlei18n/noto-fonts/deployments","created_at":"2015-06-08T18:29:30Z","updated_at":"2016-03-15T00:29:50Z","pushed_at":"2016-03-15T23:18:42Z","git_url":"git://github.com/googlei18n/noto-fonts.git","ssh_url":"git@github.com:googlei18n/noto-fonts.git","clone_url":"https://github.com/googlei18n/noto-fonts.git","svn_url":"https://github.com/googlei18n/noto-fonts","homepage":"http://www.google.com/get/noto/","size":29535,"stargazers_count":268,"watchers_count":268,"language":null,"has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":216,"forks":26,"open_issues":216,"watchers":268,"default_branch":"master"}},"base":{"label":"googlei18n:master","ref":"master","sha":"0e2067749fa97e3818059d8f58b9cc3b5a770ff2","user":{"login":"googlei18n","id":5503833,"avatar_url":"https://avatars.githubusercontent.com/u/5503833?v=3","gravatar_id":"","url":"https://api.github.com/users/googlei18n","html_url":"https://github.com/googlei18n","followers_url":"https://api.github.com/users/googlei18n/followers","following_url":"https://api.github.com/users/googlei18n/following{/other_user}","gists_url":"https://api.github.com/users/googlei18n/gists{/gist_id}","starred_url":"https://api.github.com/users/googlei18n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/googlei18n/subscriptions","organizations_url":"https://api.github.com/users/googlei18n/orgs","repos_url":"https://api.github.com/users/googlei18n/repos","events_url":"https://api.github.com/users/googlei18n/events{/privacy}","received_events_url":"https://api.github.com/users/googlei18n/received_events","type":"Organization","site_admin":false},"repo":{"id":37085010,"name":"noto-fonts","full_name":"googlei18n/noto-fonts","owner":{"login":"googlei18n","id":5503833,"avatar_url":"https://avatars.githubusercontent.com/u/5503833?v=3","gravatar_id":"","url":"https://api.github.com/users/googlei18n","html_url":"https://github.com/googlei18n","followers_url":"https://api.github.com/users/googlei18n/followers","following_url":"https://api.github.com/users/googlei18n/following{/other_user}","gists_url":"https://api.github.com/users/googlei18n/gists{/gist_id}","starred_url":"https://api.github.com/users/googlei18n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/googlei18n/subscriptions","organizations_url":"https://api.github.com/users/googlei18n/orgs","repos_url":"https://api.github.com/users/googlei18n/repos","events_url":"https://api.github.com/users/googlei18n/events{/privacy}","received_events_url":"https://api.github.com/users/googlei18n/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/googlei18n/noto-fonts","description":" Noto fonts, except for CJK and emoji","fork":false,"url":"https://api.github.com/repos/googlei18n/noto-fonts","forks_url":"https://api.github.com/repos/googlei18n/noto-fonts/forks","keys_url":"https://api.github.com/repos/googlei18n/noto-fonts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/googlei18n/noto-fonts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/googlei18n/noto-fonts/teams","hooks_url":"https://api.github.com/repos/googlei18n/noto-fonts/hooks","issue_events_url":"https://api.github.com/repos/googlei18n/noto-fonts/issues/events{/number}","events_url":"https://api.github.com/repos/googlei18n/noto-fonts/events","assignees_url":"https://api.github.com/repos/googlei18n/noto-fonts/assignees{/user}","branches_url":"https://api.github.com/repos/googlei18n/noto-fonts/branches{/branch}","tags_url":"https://api.github.com/repos/googlei18n/noto-fonts/tags","blobs_url":"https://api.github.com/repos/googlei18n/noto-fonts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/googlei18n/noto-fonts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/googlei18n/noto-fonts/git/refs{/sha}","trees_url":"https://api.github.com/repos/googlei18n/noto-fonts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/googlei18n/noto-fonts/statuses/{sha}","languages_url":"https://api.github.com/repos/googlei18n/noto-fonts/languages","stargazers_url":"https://api.github.com/repos/googlei18n/noto-fonts/stargazers","contributors_url":"https://api.github.com/repos/googlei18n/noto-fonts/contributors","subscribers_url":"https://api.github.com/repos/googlei18n/noto-fonts/subscribers","subscription_url":"https://api.github.com/repos/googlei18n/noto-fonts/subscription","commits_url":"https://api.github.com/repos/googlei18n/noto-fonts/commits{/sha}","git_commits_url":"https://api.github.com/repos/googlei18n/noto-fonts/git/commits{/sha}","comments_url":"https://api.github.com/repos/googlei18n/noto-fonts/comments{/number}","issue_comment_url":"https://api.github.com/repos/googlei18n/noto-fonts/issues/comments{/number}","contents_url":"https://api.github.com/repos/googlei18n/noto-fonts/contents/{+path}","compare_url":"https://api.github.com/repos/googlei18n/noto-fonts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/googlei18n/noto-fonts/merges","archive_url":"https://api.github.com/repos/googlei18n/noto-fonts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/googlei18n/noto-fonts/downloads","issues_url":"https://api.github.com/repos/googlei18n/noto-fonts/issues{/number}","pulls_url":"https://api.github.com/repos/googlei18n/noto-fonts/pulls{/number}","milestones_url":"https://api.github.com/repos/googlei18n/noto-fonts/milestones{/number}","notifications_url":"https://api.github.com/repos/googlei18n/noto-fonts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/googlei18n/noto-fonts/labels{/name}","releases_url":"https://api.github.com/repos/googlei18n/noto-fonts/releases{/id}","deployments_url":"https://api.github.com/repos/googlei18n/noto-fonts/deployments","created_at":"2015-06-08T18:29:30Z","updated_at":"2016-03-15T00:29:50Z","pushed_at":"2016-03-15T23:18:42Z","git_url":"git://github.com/googlei18n/noto-fonts.git","ssh_url":"git@github.com:googlei18n/noto-fonts.git","clone_url":"https://github.com/googlei18n/noto-fonts.git","svn_url":"https://github.com/googlei18n/noto-fonts","homepage":"http://www.google.com/get/noto/","size":29535,"stargazers_count":268,"watchers_count":268,"language":null,"has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":216,"forks":26,"open_issues":216,"watchers":268,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/googlei18n/noto-fonts/pulls/644"},"html":{"href":"https://github.com/googlei18n/noto-fonts/pull/644"},"issue":{"href":"https://api.github.com/repos/googlei18n/noto-fonts/issues/644"},"comments":{"href":"https://api.github.com/repos/googlei18n/noto-fonts/issues/644/comments"},"review_comments":{"href":"https://api.github.com/repos/googlei18n/noto-fonts/pulls/644/comments"},"review_comment":{"href":"https://api.github.com/repos/googlei18n/noto-fonts/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/googlei18n/noto-fonts/pulls/644/commits"},"statuses":{"href":"https://api.github.com/repos/googlei18n/noto-fonts/statuses/0af3d5fd0830eaeb1825044b2f4c04125eacf08f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jungshik","id":8578343,"avatar_url":"https://avatars.githubusercontent.com/u/8578343?v=3","gravatar_id":"","url":"https://api.github.com/users/jungshik","html_url":"https://github.com/jungshik","followers_url":"https://api.github.com/users/jungshik/followers","following_url":"https://api.github.com/users/jungshik/following{/other_user}","gists_url":"https://api.github.com/users/jungshik/gists{/gist_id}","starred_url":"https://api.github.com/users/jungshik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jungshik/subscriptions","organizations_url":"https://api.github.com/users/jungshik/orgs","repos_url":"https://api.github.com/users/jungshik/repos","events_url":"https://api.github.com/users/jungshik/events{/privacy}","received_events_url":"https://api.github.com/users/jungshik/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":1,"additions":0,"deletions":0,"changed_files":8}}