From e8483a8352aee2013f951e98572823436c4306b2 Mon Sep 17 00:00:00 2001 From: Kilian Schuettler Date: Wed, 6 Nov 2024 15:57:31 +0100 Subject: [PATCH] disable snuggification by default --- .../fforesight/service/ocr/processor/OcrServiceSettings.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-ocr-service/azure-ocr-service-processor/src/main/java/com/knecon/fforesight/service/ocr/processor/OcrServiceSettings.java b/azure-ocr-service/azure-ocr-service-processor/src/main/java/com/knecon/fforesight/service/ocr/processor/OcrServiceSettings.java index a0f1846..e1f8961 100644 --- a/azure-ocr-service/azure-ocr-service-processor/src/main/java/com/knecon/fforesight/service/ocr/processor/OcrServiceSettings.java +++ b/azure-ocr-service/azure-ocr-service-processor/src/main/java/com/knecon/fforesight/service/ocr/processor/OcrServiceSettings.java @@ -18,7 +18,7 @@ public class OcrServiceSettings { boolean debug; // writes the ocr layer visibly to the viewer doc pdf boolean drawTablesAsLines; // writes the tables to the PDF as invisible lines. - boolean snuggify = true; // Enables bold detection using ghostscript and leptonica + boolean snuggify; // Enables bold detection using ghostscript and leptonica String contentFormat; // Either markdown or text. But, for whatever reason, with markdown enabled, key-values are not written by azure.... }