{"action":"created","issue":{"url":"https://api.github.com/repos/SiliconStudio/paradox/issues/149","labels_url":"https://api.github.com/repos/SiliconStudio/paradox/issues/149/labels{/name}","comments_url":"https://api.github.com/repos/SiliconStudio/paradox/issues/149/comments","events_url":"https://api.github.com/repos/SiliconStudio/paradox/issues/149/events","html_url":"https://github.com/SiliconStudio/paradox/issues/149","id":53912974,"number":149,"title":"Drawing fonts ignores alpha value","user":{"login":"axefrog","id":298883,"avatar_url":"https://avatars.githubusercontent.com/u/298883?v=3","gravatar_id":"","url":"https://api.github.com/users/axefrog","html_url":"https://github.com/axefrog","followers_url":"https://api.github.com/users/axefrog/followers","following_url":"https://api.github.com/users/axefrog/following{/other_user}","gists_url":"https://api.github.com/users/axefrog/gists{/gist_id}","starred_url":"https://api.github.com/users/axefrog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axefrog/subscriptions","organizations_url":"https://api.github.com/users/axefrog/orgs","repos_url":"https://api.github.com/users/axefrog/repos","events_url":"https://api.github.com/users/axefrog/events{/privacy}","received_events_url":"https://api.github.com/users/axefrog/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-09T20:46:25Z","updated_at":"2015-01-10T00:41:40Z","closed_at":null,"body":"```c#\r\nvar color = Color.CornflowerBlue;\r\nvar alpha = .2f;\r\ncolor = new Color(color.R, color.G, color.B, (byte)(255*alpha));\r\n_batch.DrawString(font, text, fontSize, new Vector2(x, y), color);\r\n```\r\n\r\nThe alpha value is always ignored and the font is drawn with full opacity.\r\n\r\nNote that it is very difficult to achieve interesting text effects without the ability to render with variable opacity."},"comment":{"url":"https://api.github.com/repos/SiliconStudio/paradox/issues/comments/69426735","html_url":"https://github.com/SiliconStudio/paradox/issues/149#issuecomment-69426735","issue_url":"https://api.github.com/repos/SiliconStudio/paradox/issues/149","id":69426735,"user":{"login":"axefrog","id":298883,"avatar_url":"https://avatars.githubusercontent.com/u/298883?v=3","gravatar_id":"","url":"https://api.github.com/users/axefrog","html_url":"https://github.com/axefrog","followers_url":"https://api.github.com/users/axefrog/followers","following_url":"https://api.github.com/users/axefrog/following{/other_user}","gists_url":"https://api.github.com/users/axefrog/gists{/gist_id}","starred_url":"https://api.github.com/users/axefrog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axefrog/subscriptions","organizations_url":"https://api.github.com/users/axefrog/orgs","repos_url":"https://api.github.com/users/axefrog/repos","events_url":"https://api.github.com/users/axefrog/events{/privacy}","received_events_url":"https://api.github.com/users/axefrog/received_events","type":"User","site_admin":false},"created_at":"2015-01-10T00:41:40Z","updated_at":"2015-01-10T00:41:40Z","body":"Further investigation suggests it sort of works, but not entirely as expected. In the following images, the bracketed values at the end of each line indicate the R,G,B,A values taken from the `Color` object used to render the line:\r\n\r\nBlack text appears to render transparency correctly:\r\n![](http://content.screencast.com/users/NathanRidley/folders/Jing/media/08415955-af4d-403d-9b79-7e1501781497/2015-01-10_1034.png)\r\n\r\nWhite text ignores transparency completely:\r\n![](http://content.screencast.com/users/NathanRidley/folders/Jing/media/c9eca531-cef4-47ae-b74e-bdd5f30c4ddd/2015-01-10_1036.png)\r\n\r\nRed text on black also not showing transparency:\r\n![](http://content.screencast.com/users/NathanRidley/folders/Jing/media/f63b8c53-55fc-4e4d-9224-2dc28609d517/2015-01-10_1038.png)\r\n\r\nRed text on white appears to work correctly:\r\n![](http://content.screencast.com/users/NathanRidley/folders/Jing/media/a9c32fa7-e609-48bf-9921-ed9ac9dce550/2015-01-10_1040.png)"}}