{"action":"created","issue":{"url":"https://api.github.com/repos/jaor/xmobar/issues/221","labels_url":"https://api.github.com/repos/jaor/xmobar/issues/221/labels{/name}","comments_url":"https://api.github.com/repos/jaor/xmobar/issues/221/comments","events_url":"https://api.github.com/repos/jaor/xmobar/issues/221/events","html_url":"https://github.com/jaor/xmobar/issues/221","id":62194620,"number":221,"title":"Vertical alignment issues in 0.23","user":{"login":"jpalus","id":484155,"avatar_url":"https://avatars.githubusercontent.com/u/484155?v=3","gravatar_id":"","url":"https://api.github.com/users/jpalus","html_url":"https://github.com/jpalus","followers_url":"https://api.github.com/users/jpalus/followers","following_url":"https://api.github.com/users/jpalus/following{/other_user}","gists_url":"https://api.github.com/users/jpalus/gists{/gist_id}","starred_url":"https://api.github.com/users/jpalus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpalus/subscriptions","organizations_url":"https://api.github.com/users/jpalus/orgs","repos_url":"https://api.github.com/users/jpalus/repos","events_url":"https://api.github.com/users/jpalus/events{/privacy}","received_events_url":"https://api.github.com/users/jpalus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-03-16T20:05:26Z","updated_at":"2015-03-19T16:39:47Z","closed_at":null,"body":"After switching to xmobar 0.23 vertical alignment was broken both for text and icons (even after applying icon alignment patch). According to documentation both text and icons should be centered by default but in version 0.23:\r\n- text is moved up which is especially visible for text with background\r\n- icon is moved up and is half visible (vanilla 0.23) or is moved down (after applying fix for #216)\r\n\r\nPlease compare screenshots\r\n![xmobar-0 22 1](https://cloud.githubusercontent.com/assets/484155/6675320/e6ee850a-cc1f-11e4-9608-7c01ac04a753.png)\r\n![xmobar-0 23](https://cloud.githubusercontent.com/assets/484155/6675321/e6f0e89a-cc1f-11e4-9eaf-21468c254b5b.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jaor/xmobar/issues/comments/83654160","html_url":"https://github.com/jaor/xmobar/issues/221#issuecomment-83654160","issue_url":"https://api.github.com/repos/jaor/xmobar/issues/221","id":83654160,"user":{"login":"jpalus","id":484155,"avatar_url":"https://avatars.githubusercontent.com/u/484155?v=3","gravatar_id":"","url":"https://api.github.com/users/jpalus","html_url":"https://github.com/jpalus","followers_url":"https://api.github.com/users/jpalus/followers","following_url":"https://api.github.com/users/jpalus/following{/other_user}","gists_url":"https://api.github.com/users/jpalus/gists{/gist_id}","starred_url":"https://api.github.com/users/jpalus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpalus/subscriptions","organizations_url":"https://api.github.com/users/jpalus/orgs","repos_url":"https://api.github.com/users/jpalus/repos","events_url":"https://api.github.com/users/jpalus/events{/privacy}","received_events_url":"https://api.github.com/users/jpalus/received_events","type":"User","site_admin":false},"created_at":"2015-03-19T16:39:47Z","updated_at":"2015-03-19T16:39:47Z","body":"Another step forward but it's still 1px from the target :)\r\n\r\nLet's take previous example with font = 13 and bar height = 31\r\n\r\n| What | Expected | Actual |\r\n| -------- | --------------- | ---------- |\r\n| Pixels from text to top | 9 | 10 |\r\n| Pixels from text to bottom | 9 | 8 |\r\n| Background height - text height | Even | Odd |\r\n| Number of background pixels on the right and left side of text | Same | Different (11 left, 12 right) |\r\n"}}