{"action":"created","issue":{"url":"https://api.github.com/repos/yzane/vscode-markdown-pdf/issues/88","repository_url":"https://api.github.com/repos/yzane/vscode-markdown-pdf","labels_url":"https://api.github.com/repos/yzane/vscode-markdown-pdf/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/yzane/vscode-markdown-pdf/issues/88/comments","events_url":"https://api.github.com/repos/yzane/vscode-markdown-pdf/issues/88/events","html_url":"https://github.com/yzane/vscode-markdown-pdf/issues/88","id":326392661,"node_id":"MDU6SXNzdWUzMjYzOTI2NjE=","number":88,"title":"issue about supporting for Chinese characters","user":{"login":"hikigaya58","id":25583714,"node_id":"MDQ6VXNlcjI1NTgzNzE0","avatar_url":"https://avatars1.githubusercontent.com/u/25583714?v=4","gravatar_id":"","url":"https://api.github.com/users/hikigaya58","html_url":"https://github.com/hikigaya58","followers_url":"https://api.github.com/users/hikigaya58/followers","following_url":"https://api.github.com/users/hikigaya58/following{/other_user}","gists_url":"https://api.github.com/users/hikigaya58/gists{/gist_id}","starred_url":"https://api.github.com/users/hikigaya58/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hikigaya58/subscriptions","organizations_url":"https://api.github.com/users/hikigaya58/orgs","repos_url":"https://api.github.com/users/hikigaya58/repos","events_url":"https://api.github.com/users/hikigaya58/events{/privacy}","received_events_url":"https://api.github.com/users/hikigaya58/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-25T06:06:39Z","updated_at":"2018-11-28T12:06:32Z","closed_at":"2018-11-28T12:06:32Z","author_association":"NONE","body":"when a markdown file includes chinese characters,it looks like this in vscode built-in preview(with extension 'Markdown Preview Github Styling'):\r\n![image](https://user-images.githubusercontent.com/25583714/40528353-57a3187a-6023-11e8-9aa1-064582478d27.png)\r\nbut after 'vscode-markdown-pdf' to pdf , it looks like this:\r\n![image](https://user-images.githubusercontent.com/25583714/40528436-9cb9b87e-6023-11e8-9b5d-6d0edae0549c.png)\r\nyou can see some characters don't look like others,their font alter.\r\nthe encoding is utf-8, vscode is 1.23.1,markdown-pdf is 1.2.0,os is win 10 17134.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/yzane/vscode-markdown-pdf/issues/comments/442424264","html_url":"https://github.com/yzane/vscode-markdown-pdf/issues/88#issuecomment-442424264","issue_url":"https://api.github.com/repos/yzane/vscode-markdown-pdf/issues/88","id":442424264,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjQyNDI2NA==","user":{"login":"hikigaya58","id":25583714,"node_id":"MDQ6VXNlcjI1NTgzNzE0","avatar_url":"https://avatars1.githubusercontent.com/u/25583714?v=4","gravatar_id":"","url":"https://api.github.com/users/hikigaya58","html_url":"https://github.com/hikigaya58","followers_url":"https://api.github.com/users/hikigaya58/followers","following_url":"https://api.github.com/users/hikigaya58/following{/other_user}","gists_url":"https://api.github.com/users/hikigaya58/gists{/gist_id}","starred_url":"https://api.github.com/users/hikigaya58/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hikigaya58/subscriptions","organizations_url":"https://api.github.com/users/hikigaya58/orgs","repos_url":"https://api.github.com/users/hikigaya58/repos","events_url":"https://api.github.com/users/hikigaya58/events{/privacy}","received_events_url":"https://api.github.com/users/hikigaya58/received_events","type":"User","site_admin":false},"created_at":"2018-11-28T12:06:32Z","updated_at":"2018-11-28T12:06:32Z","author_association":"NONE","body":"> I think it is because the default font family is not compatible. You can try to change it using css and settings.json.\r\n> \r\n> Add this line to your settings.json:\r\n> `\"markdown-pdf.styles\": [\"path/to/your.css\"]`\r\n> \r\n> in css file:\r\n> `body{font-family: \"宋体\"; font-size: 16px;}`\r\n\r\nYes, your answer solves the problem. But I hope that the author can adapt to Chinese characters!\r\n"}}
{"actor":{"display_login":"hikigaya58"}}