{"action":"created","issue":{"url":"https://api.github.com/repos/tesseract-ocr/tesseract/issues/309","repository_url":"https://api.github.com/repos/tesseract-ocr/tesseract","labels_url":"https://api.github.com/repos/tesseract-ocr/tesseract/issues/309/labels{/name}","comments_url":"https://api.github.com/repos/tesseract-ocr/tesseract/issues/309/comments","events_url":"https://api.github.com/repos/tesseract-ocr/tesseract/issues/309/events","html_url":"https://github.com/tesseract-ocr/tesseract/issues/309","id":151299547,"number":309,"title":"Tesseract Configuration Documentation","user":{"login":"LachlanLindsay","id":4453667,"avatar_url":"https://avatars.githubusercontent.com/u/4453667?v=3","gravatar_id":"","url":"https://api.github.com/users/LachlanLindsay","html_url":"https://github.com/LachlanLindsay","followers_url":"https://api.github.com/users/LachlanLindsay/followers","following_url":"https://api.github.com/users/LachlanLindsay/following{/other_user}","gists_url":"https://api.github.com/users/LachlanLindsay/gists{/gist_id}","starred_url":"https://api.github.com/users/LachlanLindsay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LachlanLindsay/subscriptions","organizations_url":"https://api.github.com/users/LachlanLindsay/orgs","repos_url":"https://api.github.com/users/LachlanLindsay/repos","events_url":"https://api.github.com/users/LachlanLindsay/events{/privacy}","received_events_url":"https://api.github.com/users/LachlanLindsay/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-27T05:03:44Z","updated_at":"2016-05-11T22:02:49Z","closed_at":"2016-05-11T22:02:13Z","body":"I have been having difficultly finding documentation about all of the parameters I can configure in the hocr config. If anyone is able to link me to the complete list.\r\n\r\n```\r\ntessedit_create_hocr 1\r\nhocr_font_info 1\r\n```\r\n\r\nI'm using tesseract and as part of the hOCRText I would like to retrieve information on the size, font-family and emphasis.\r\n\r\nFollowing the answer on [stack overflow](http://stackoverflow.com/questions/20016767/extracting-text-attributes-using-tesseract-hocr/35415375) This is also confirmed by a pull request documenting this feature #222 \r\n\r\nMy configuration looks like this.\r\n├── tessdata/\r\n└────  configs/\r\n│       │       ├── api_config\r\n│       │       ├── digits\r\n│       │       └── hocr\r\n│       └── ENG.traineddata\r\n\r\nUnfortunately I'm still getting results like the following: \r\n\r\n```xml\r\n<span class='ocrx_word' id='word_1_109' title='bbox 632 298 721 312; x_wconf 89' lang='ENG' dir='ltr'>authorised</span>\r\n<span class='ocrx_word' id='word_1_110' title='bbox 729 298 748 316; x_wconf 99' lang='ENG' dir='ltr'>by</span>\r\n<span class='ocrx_word' id='word_1_111' title='bbox 756 298 782 312; x_wconf 89' lang='ENG' dir='ltr'>the</span>\r\n<span class='ocrx_word' id='word_1_112' title='bbox 792 298 852 312; x_wconf 91' lang='ENG' dir='ltr'>Income</span>\r\n```\r\nNote: the missing font information.\r\n```xml\r\n<span class='ocrx_word' id='word_3_21' title='bbox 946 1267 1121 1297; x_wconf 91; x_font Courier_New; x_fsize 9' dir='ltr'>without</span>\r\n```\r\nI have found a webpage outlining extra configuration that I do not [have](https://github.com/tesseract-ocr/tesseract/wiki/TrainingTesseract#data-files-required). Could this be the issue? "},"comment":{"url":"https://api.github.com/repos/tesseract-ocr/tesseract/issues/comments/218603904","html_url":"https://github.com/tesseract-ocr/tesseract/issues/309#issuecomment-218603904","issue_url":"https://api.github.com/repos/tesseract-ocr/tesseract/issues/309","id":218603904,"user":{"login":"LachlanLindsay","id":4453667,"avatar_url":"https://avatars.githubusercontent.com/u/4453667?v=3","gravatar_id":"","url":"https://api.github.com/users/LachlanLindsay","html_url":"https://github.com/LachlanLindsay","followers_url":"https://api.github.com/users/LachlanLindsay/followers","following_url":"https://api.github.com/users/LachlanLindsay/following{/other_user}","gists_url":"https://api.github.com/users/LachlanLindsay/gists{/gist_id}","starred_url":"https://api.github.com/users/LachlanLindsay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LachlanLindsay/subscriptions","organizations_url":"https://api.github.com/users/LachlanLindsay/orgs","repos_url":"https://api.github.com/users/LachlanLindsay/repos","events_url":"https://api.github.com/users/LachlanLindsay/events{/privacy}","received_events_url":"https://api.github.com/users/LachlanLindsay/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T22:02:49Z","updated_at":"2016-05-11T22:02:49Z","body":"Thanks very much for your help! "}}