{"action":"created","issue":{"url":"https://api.github.com/repos/coolwanglu/pdf2htmlEX/issues/527","labels_url":"https://api.github.com/repos/coolwanglu/pdf2htmlEX/issues/527/labels{/name}","comments_url":"https://api.github.com/repos/coolwanglu/pdf2htmlEX/issues/527/comments","events_url":"https://api.github.com/repos/coolwanglu/pdf2htmlEX/issues/527/events","html_url":"https://github.com/coolwanglu/pdf2htmlEX/issues/527","id":78479948,"number":527,"title":"Help needed to understand font-family","user":{"login":"kjayanth","id":12527248,"avatar_url":"https://avatars.githubusercontent.com/u/12527248?v=3","gravatar_id":"","url":"https://api.github.com/users/kjayanth","html_url":"https://github.com/kjayanth","followers_url":"https://api.github.com/users/kjayanth/followers","following_url":"https://api.github.com/users/kjayanth/following{/other_user}","gists_url":"https://api.github.com/users/kjayanth/gists{/gist_id}","starred_url":"https://api.github.com/users/kjayanth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjayanth/subscriptions","organizations_url":"https://api.github.com/users/kjayanth/orgs","repos_url":"https://api.github.com/users/kjayanth/repos","events_url":"https://api.github.com/users/kjayanth/events{/privacy}","received_events_url":"https://api.github.com/users/kjayanth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-20T11:08:35Z","updated_at":"2015-05-20T15:24:56Z","closed_at":null,"body":"Hi,\r\n\r\n\r\nWe are using pdf2htmlex for converting pdfs to htmls to later process them. The htmls generated have fonts embedded in them in base encode URI format.  \r\n\r\nWhile processing the text in the htmls it is important for us to understand the properties of text like if it is bolded/underlined etc. But what we have observed is that the font-family definition of the text doesn't convey this directly, but actually the font itself has these properties set. This is making it hard for us to achieve what we want to. \r\n\r\nSo our question is, is there a way to figure out from the font embedded if the text associated with the font is bolded or not. And similar such properties. \r\n\r\nIt would also be helpful to understand how the fonts are generated in the final html. \r\n\r\nThanks,\r\nKarthik"},"comment":{"url":"https://api.github.com/repos/coolwanglu/pdf2htmlEX/issues/comments/103925022","html_url":"https://github.com/coolwanglu/pdf2htmlEX/issues/527#issuecomment-103925022","issue_url":"https://api.github.com/repos/coolwanglu/pdf2htmlEX/issues/527","id":103925022,"user":{"login":"duanyao","id":1684137,"avatar_url":"https://avatars.githubusercontent.com/u/1684137?v=3","gravatar_id":"","url":"https://api.github.com/users/duanyao","html_url":"https://github.com/duanyao","followers_url":"https://api.github.com/users/duanyao/followers","following_url":"https://api.github.com/users/duanyao/following{/other_user}","gists_url":"https://api.github.com/users/duanyao/gists{/gist_id}","starred_url":"https://api.github.com/users/duanyao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duanyao/subscriptions","organizations_url":"https://api.github.com/users/duanyao/orgs","repos_url":"https://api.github.com/users/duanyao/repos","events_url":"https://api.github.com/users/duanyao/events{/privacy}","received_events_url":"https://api.github.com/users/duanyao/received_events","type":"User","site_admin":false},"created_at":"2015-05-20T15:24:56Z","updated_at":"2015-05-20T15:24:56Z","body":"Use `--embed-font 0` to dump font files, or font files are embedded in the HTML file. See the wiki for more info (e.g. https://github.com/coolwanglu/pdf2htmlEX/wiki/Quick-Start).\r\n\r\nOpen the font files by fontforge, open menu \"element->font info->PS name\", you will see the font name."}}