Skip to content

Commit ca5d285

Browse files
committed
hocr: add ocrp_wconf to unconditional ocr-capabilities; fixes #1470
1 parent 956525f commit ca5d285

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/api/renderer.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,10 @@ bool TessHOcrRenderer::BeginDocumentHandler() {
167167
" <meta name='ocr-system' content='tesseract " PACKAGE_VERSION
168168
"' />\n"
169169
" <meta name='ocr-capabilities' content='ocr_page ocr_carea ocr_par"
170-
" ocr_line ocrx_word");
170+
" ocr_line ocrx_word ocrp_wconf");
171171
if (font_info_)
172172
AppendString(
173-
" ocrp_lang ocrp_dir ocrp_font ocrp_fsize ocrp_wconf");
173+
" ocrp_lang ocrp_dir ocrp_font ocrp_fsize");
174174
AppendString(
175175
"'/>\n"
176176
"</head>\n<body>\n");

0 commit comments

Comments
 (0)