{"action":"created","issue":{"url":"https://api.github.com/repos/x3dom/x3dom/issues/545","labels_url":"https://api.github.com/repos/x3dom/x3dom/issues/545/labels{/name}","comments_url":"https://api.github.com/repos/x3dom/x3dom/issues/545/comments","events_url":"https://api.github.com/repos/x3dom/x3dom/issues/545/events","html_url":"https://github.com/x3dom/x3dom/issues/545","id":105374355,"number":545,"title":"vertical and horizontal text positioning off","user":{"login":"andreasplesch","id":6171115,"avatar_url":"https://avatars.githubusercontent.com/u/6171115?v=3","gravatar_id":"","url":"https://api.github.com/users/andreasplesch","html_url":"https://github.com/andreasplesch","followers_url":"https://api.github.com/users/andreasplesch/followers","following_url":"https://api.github.com/users/andreasplesch/following{/other_user}","gists_url":"https://api.github.com/users/andreasplesch/gists{/gist_id}","starred_url":"https://api.github.com/users/andreasplesch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreasplesch/subscriptions","organizations_url":"https://api.github.com/users/andreasplesch/orgs","repos_url":"https://api.github.com/users/andreasplesch/repos","events_url":"https://api.github.com/users/andreasplesch/events{/privacy}","received_events_url":"https://api.github.com/users/andreasplesch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-08T12:54:24Z","updated_at":"2015-09-09T21:59:08Z","closed_at":null,"body":"Currently x3dom seems to position a text node too high:\r\nx3dom rendering of \r\nhttp://x3dgraphics.com/examples/X3dForWebAuthors/Chapter02-GeometryPrimitives/GeometryPrimitiveNodes.xhtml\r\n![image](https://cloud.githubusercontent.com/assets/6171115/9735106/57b92ae0-5606-11e5-883d-53b23626b93e.png)\r\nexpected rendering:\r\nhttp://x3dgraphics.com/examples/X3dForWebAuthors/Chapter02-GeometryPrimitives/_viewpoints/GeometryPrimitiveNodes.x3d._VP_Default_viewpoint.png\r\n![image](https://cloud.githubusercontent.com/assets/6171115/9735137/89a55830-5606-11e5-82af-d13020de7248.png)\r\nand also too far left.\r\nThis is probably a result of x3dom centering the text box at the local origin. By default the origin should be close to the upper left corner. \r\n"},"comment":{"url":"https://api.github.com/repos/x3dom/x3dom/issues/comments/139057874","html_url":"https://github.com/x3dom/x3dom/issues/545#issuecomment-139057874","issue_url":"https://api.github.com/repos/x3dom/x3dom/issues/545","id":139057874,"user":{"login":"andreasplesch","id":6171115,"avatar_url":"https://avatars.githubusercontent.com/u/6171115?v=3","gravatar_id":"","url":"https://api.github.com/users/andreasplesch","html_url":"https://github.com/andreasplesch","followers_url":"https://api.github.com/users/andreasplesch/followers","following_url":"https://api.github.com/users/andreasplesch/following{/other_user}","gists_url":"https://api.github.com/users/andreasplesch/gists{/gist_id}","starred_url":"https://api.github.com/users/andreasplesch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreasplesch/subscriptions","organizations_url":"https://api.github.com/users/andreasplesch/orgs","repos_url":"https://api.github.com/users/andreasplesch/repos","events_url":"https://api.github.com/users/andreasplesch/events{/privacy}","received_events_url":"https://api.github.com/users/andreasplesch/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T21:59:08Z","updated_at":"2015-09-09T21:59:08Z","body":"Just a note that ctx.textBaseline=\"alphabetic\" would allow for better 'FIRST' minor alignment, and \"bottom\" for better \"END\" minor alignment. "}}