{"action":"created","issue":{"url":"https://api.github.com/repos/python-openxml/python-docx/issues/346","repository_url":"https://api.github.com/repos/python-openxml/python-docx","labels_url":"https://api.github.com/repos/python-openxml/python-docx/issues/346/labels{/name}","comments_url":"https://api.github.com/repos/python-openxml/python-docx/issues/346/comments","events_url":"https://api.github.com/repos/python-openxml/python-docx/issues/346/events","html_url":"https://github.com/python-openxml/python-docx/issues/346","id":199488594,"node_id":"MDU6SXNzdWUxOTk0ODg1OTQ=","number":346,"title":"Cannot set Chinese character font typeface","user":{"login":"zhangyewu","id":71384,"node_id":"MDQ6VXNlcjcxMzg0","avatar_url":"https://avatars1.githubusercontent.com/u/71384?v=4","gravatar_id":"","url":"https://api.github.com/users/zhangyewu","html_url":"https://github.com/zhangyewu","followers_url":"https://api.github.com/users/zhangyewu/followers","following_url":"https://api.github.com/users/zhangyewu/following{/other_user}","gists_url":"https://api.github.com/users/zhangyewu/gists{/gist_id}","starred_url":"https://api.github.com/users/zhangyewu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhangyewu/subscriptions","organizations_url":"https://api.github.com/users/zhangyewu/orgs","repos_url":"https://api.github.com/users/zhangyewu/repos","events_url":"https://api.github.com/users/zhangyewu/events{/privacy}","received_events_url":"https://api.github.com/users/zhangyewu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-01-09T07:00:35Z","updated_at":"2018-12-29T04:42:31Z","closed_at":null,"author_association":"NONE","body":"I tried set set Chinese character font typeface, but failed.  it works for English characters, but not for Chinese characters although they are at the same line. \r\n\r\n```\r\nfrom docx import Document\r\nfrom docx.shared import Pt\r\n\r\ndocument = Document()\r\np = document.add_paragraph('A plain paragraph having some ')\r\nrun = p.add_run(\"\\n中文字体设置。Character formatting is applied at the Run level. Examples include font typeface and size, bold, italic, and underline.\")\r\nfont = run.font\r\nfont.name = '宋体' #simSong\r\nfont.size = Pt(20)\r\n```\r\n![2017-01-09_153840](https://cloud.githubusercontent.com/assets/71384/21759819/22e2c206-d682-11e6-8bf6-a41d40097d19.png)\r\n"},"comment":{"url":"https://api.github.com/repos/python-openxml/python-docx/issues/comments/450465260","html_url":"https://github.com/python-openxml/python-docx/issues/346#issuecomment-450465260","issue_url":"https://api.github.com/repos/python-openxml/python-docx/issues/346","id":450465260,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDQ2NTI2MA==","user":{"login":"retsyo","id":7960913,"node_id":"MDQ6VXNlcjc5NjA5MTM=","avatar_url":"https://avatars2.githubusercontent.com/u/7960913?v=4","gravatar_id":"","url":"https://api.github.com/users/retsyo","html_url":"https://github.com/retsyo","followers_url":"https://api.github.com/users/retsyo/followers","following_url":"https://api.github.com/users/retsyo/following{/other_user}","gists_url":"https://api.github.com/users/retsyo/gists{/gist_id}","starred_url":"https://api.github.com/users/retsyo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/retsyo/subscriptions","organizations_url":"https://api.github.com/users/retsyo/orgs","repos_url":"https://api.github.com/users/retsyo/repos","events_url":"https://api.github.com/users/retsyo/events{/privacy}","received_events_url":"https://api.github.com/users/retsyo/received_events","type":"User","site_admin":false},"created_at":"2018-12-29T04:42:31Z","updated_at":"2018-12-29T04:42:31Z","author_association":"NONE","body":"I give up. If necessary I will use win32com to tweak the details further"}}
{"actor":{"display_login":"retsyo"}}