{"action":"created","issue":{"url":"https://api.github.com/repos/dompdf/dompdf/issues/911","labels_url":"https://api.github.com/repos/dompdf/dompdf/issues/911/labels{/name}","comments_url":"https://api.github.com/repos/dompdf/dompdf/issues/911/comments","events_url":"https://api.github.com/repos/dompdf/dompdf/issues/911/events","html_url":"https://github.com/dompdf/dompdf/issues/911","id":59782332,"number":911,"title":"Custom Fonts, encoding and line-height Problem ","user":{"login":"castler","id":3033530,"avatar_url":"https://avatars.githubusercontent.com/u/3033530?v=3","gravatar_id":"","url":"https://api.github.com/users/castler","html_url":"https://github.com/castler","followers_url":"https://api.github.com/users/castler/followers","following_url":"https://api.github.com/users/castler/following{/other_user}","gists_url":"https://api.github.com/users/castler/gists{/gist_id}","starred_url":"https://api.github.com/users/castler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/castler/subscriptions","organizations_url":"https://api.github.com/users/castler/orgs","repos_url":"https://api.github.com/users/castler/repos","events_url":"https://api.github.com/users/castler/events{/privacy}","received_events_url":"https://api.github.com/users/castler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-04T11:00:09Z","updated_at":"2015-03-05T03:29:15Z","closed_at":null,"body":"Hello,\r\n\r\nI was trying to add Courier New to DomPDF. But the \"&nbsp\" is not shown as a space, it is shown as wierd symbol.\r\n\r\nAlso I tried to add Comic Sans, this worked very well but the line-height is showing different to other fonts.\r\n\r\nDo you have any work arounds?"},"comment":{"url":"https://api.github.com/repos/dompdf/dompdf/issues/comments/77300115","html_url":"https://github.com/dompdf/dompdf/issues/911#issuecomment-77300115","issue_url":"https://api.github.com/repos/dompdf/dompdf/issues/911","id":77300115,"user":{"login":"bsweeney","id":485897,"avatar_url":"https://avatars.githubusercontent.com/u/485897?v=3","gravatar_id":"","url":"https://api.github.com/users/bsweeney","html_url":"https://github.com/bsweeney","followers_url":"https://api.github.com/users/bsweeney/followers","following_url":"https://api.github.com/users/bsweeney/following{/other_user}","gists_url":"https://api.github.com/users/bsweeney/gists{/gist_id}","starred_url":"https://api.github.com/users/bsweeney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsweeney/subscriptions","organizations_url":"https://api.github.com/users/bsweeney/orgs","repos_url":"https://api.github.com/users/bsweeney/repos","events_url":"https://api.github.com/users/bsweeney/events{/privacy}","received_events_url":"https://api.github.com/users/bsweeney/received_events","type":"User","site_admin":false},"created_at":"2015-03-05T03:29:15Z","updated_at":"2015-03-05T03:29:15Z","body":"Which version of dompdf are you using? Where did you get your font and how are you adding it (e.g. using load_font.php)? Do you have a sample document?\r\n\r\nThe line-height issues could be a processing problem with the font. I'm not sure about the issue with a non-breaking space. It could be an encoding error, or it could be that the font has an odd character encoded in that space."}}