{"action":"closed","issue":{"url":"https://api.github.com/repos/mono/MonoGame/issues/3941","labels_url":"https://api.github.com/repos/mono/MonoGame/issues/3941/labels{/name}","comments_url":"https://api.github.com/repos/mono/MonoGame/issues/3941/comments","events_url":"https://api.github.com/repos/mono/MonoGame/issues/3941/events","html_url":"https://github.com/mono/MonoGame/issues/3941","id":88779657,"number":3941,"title":"SpriteFont.MeasureString incorrect height","user":{"login":"nkast","id":3018589,"avatar_url":"https://avatars.githubusercontent.com/u/3018589?v=3","gravatar_id":"","url":"https://api.github.com/users/nkast","html_url":"https://github.com/nkast","followers_url":"https://api.github.com/users/nkast/followers","following_url":"https://api.github.com/users/nkast/following{/other_user}","gists_url":"https://api.github.com/users/nkast/gists{/gist_id}","starred_url":"https://api.github.com/users/nkast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nkast/subscriptions","organizations_url":"https://api.github.com/users/nkast/orgs","repos_url":"https://api.github.com/users/nkast/repos","events_url":"https://api.github.com/users/nkast/events{/privacy}","received_events_url":"https://api.github.com/users/nkast/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-06-16T16:44:18Z","updated_at":"2015-10-07T16:35:10Z","closed_at":"2015-10-07T16:35:10Z","body":"For a  bitmap Font (Texture) imported both by XNA importer  and MG/MGCB  and the following test code:\r\n```\r\nSpriteFont font;\r\nstring ch = \" \";\r\nfont = content.Load<SpriteFont>(\"Pages\\\\Menus\\\\DialogFont\");\r\nSystem.Diagnostics.Debug.WriteLine(\".LineSpacing = \" + font.LineSpacing);\r\nSystem.Diagnostics.Debug.WriteLine(\".MeasureString(\"+ch+\") = \" + font.MeasureString(ch));\r\nfont.LineSpacing += 10;\r\nSystem.Diagnostics.Debug.WriteLine(\".LineSpacing += 10;\");\r\nSystem.Diagnostics.Debug.WriteLine(\".LineSpacing = \" + font.LineSpacing);\r\nSystem.Diagnostics.Debug.WriteLine(\".MeasureString(\"+ch+\") = \" + font.MeasureString(ch));\r\n```\r\n\r\n![mgspritefont](https://cloud.githubusercontent.com/assets/3018589/8189345/62f7acd0-1464-11e5-9b29-07d5c1ca8b26.png)\r\n\r\nI get the following results:\r\n\r\nXNA (XNA xnb)\r\n.LineSpacing = 14\r\n.MeasureString(\" \") = {X:13 **Y:18**}\r\n.LineSpacing += 10;\r\n.LineSpacing = 24\r\n.MeasureString(\" \") = {X:13 Y:24}\r\n \r\nMonoGame (XNA xnb)\r\n.LineSpacing = 14\r\n.MeasureString(\" \") = {X:13 **Y:18**}\r\n.LineSpacing += 10;\r\n.LineSpacing = 24\r\n.MeasureString(\" \") = {X:13 Y:24}\r\n\r\nMonoGame ( MGCB xnb)\r\n.LineSpacing = 14\r\n.MeasureString(\" \") = {X:13 **Y:14**}\r\n.LineSpacing += 10;\r\n.LineSpacing = 24\r\n.MeasureString(\" \") = {X:13 Y:24}\r\n\r\n`char =\"A\";`\r\nMonoGame (XNA xnb)\r\n.LineSpacing = 14\r\n.MeasureString(\"A\") = {X:15 **Y:18**}\r\n.LineSpacing += 10;\r\n.LineSpacing = 24\r\n.MeasureString(\"A\") = {X:15 Y:24}\r\n\r\nMonoGame (MGCB xnb)\r\n.LineSpacing = 14\r\n.MeasureString(\"A\") = {X:15 **Y:14**}\r\n.LineSpacing += 10;\r\n.LineSpacing = 24\r\n.MeasureString(\"A\") = {X:15 Y:24}\r\n\r\n.\r\nThe results under XNA and MG match (Y:18) when using the same .XNB but the height is wrong (Y:14) when using the .XNB imported by MGCB.\r\nClearly the problem here is in the Font importer.\r\n\r\n"}}