Skip to content

Commit

Permalink
hocr: add ocrp_wconf to unconditional ocr-capabilities; fixes #1470
Browse files Browse the repository at this point in the history
  • Loading branch information
zdenop committed Oct 9, 2018
1 parent 956525f commit ca5d285
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/renderer.cpp
Expand Up @@ -167,10 +167,10 @@ bool TessHOcrRenderer::BeginDocumentHandler() {
" <meta name='ocr-system' content='tesseract " PACKAGE_VERSION
"' />\n"
" <meta name='ocr-capabilities' content='ocr_page ocr_carea ocr_par"
" ocr_line ocrx_word");
" ocr_line ocrx_word ocrp_wconf");
if (font_info_)
AppendString(
" ocrp_lang ocrp_dir ocrp_font ocrp_fsize ocrp_wconf");
" ocrp_lang ocrp_dir ocrp_font ocrp_fsize");
AppendString(
"'/>\n"
"</head>\n<body>\n");
Expand Down

0 comments on commit ca5d285

Please sign in to comment.