{"action":"opened","issue":{"url":"https://api.github.com/repos/asciidoctor/asciidoctor-pdf/issues/260","labels_url":"https://api.github.com/repos/asciidoctor/asciidoctor-pdf/issues/260/labels{/name}","comments_url":"https://api.github.com/repos/asciidoctor/asciidoctor-pdf/issues/260/comments","events_url":"https://api.github.com/repos/asciidoctor/asciidoctor-pdf/issues/260/events","html_url":"https://github.com/asciidoctor/asciidoctor-pdf/issues/260","id":93590963,"number":260,"title":"Renders [?] rather than advanced characters when using non-standard fonts","user":{"login":"atsansone","id":706219,"avatar_url":"https://avatars.githubusercontent.com/u/706219?v=3","gravatar_id":"","url":"https://api.github.com/users/atsansone","html_url":"https://github.com/atsansone","followers_url":"https://api.github.com/users/atsansone/followers","following_url":"https://api.github.com/users/atsansone/following{/other_user}","gists_url":"https://api.github.com/users/atsansone/gists{/gist_id}","starred_url":"https://api.github.com/users/atsansone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atsansone/subscriptions","organizations_url":"https://api.github.com/users/atsansone/orgs","repos_url":"https://api.github.com/users/atsansone/repos","events_url":"https://api.github.com/users/atsansone/events{/privacy}","received_events_url":"https://api.github.com/users/atsansone/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-07T18:00:33Z","updated_at":"2015-07-07T18:00:33Z","closed_at":null,"body":"When rendering a PDF and including fonts with limited character sets (i.e. only part of the entire Unicode character set), the rendered PDF shows [?] instead. This is because of the unicode_char for different types of spaces in the converter.rb file. Not all fonts support:\r\n\r\n  NarrowSpace = unicode_char 0x2009\r\n  NarrowNoBreakSpace = unicode_char 0x202f\r\n  ZeroWidthSpace = unicode_char 0x200b\r\n  HairSpace = unicode_char 0x200a\r\n\r\nIf there could either be a check or a replacement with a standard font (Arial, etc.) for these invisible characters, it would help when using fonts from foundries like MonoType or others. As written, when using a font like Avenir, the button declarations and the table of contents become unreadable."}}