RED-8156: add ocr debug layers to viewer document

* fix pmd
* disable tests again
This commit is contained in:
Kilian Schuettler 2024-02-07 11:36:42 +01:00
parent 2bbc3775c5
commit d2f2def1c2
2 changed files with 2 additions and 1 deletions

View File

@ -60,6 +60,7 @@ public class Type0FontMetricsFactory implements FontMetricsFactory {
@SneakyThrows
@SuppressWarnings("PMD.CloseResource")
private static Type0FontMetricsFactory createFromResourcePath(String resourcePath, PDDocument document) {
TrueTypeFont trueTypeFont = readFromResourcePath(resourcePath);

View File

@ -33,7 +33,7 @@ import io.micrometer.prometheus.PrometheusMeterRegistry;
import io.micrometer.prometheus.PrometheusTimer;
import lombok.SneakyThrows;
//@Disabled // Ghostscript/Tesseract/Leptonica is not available on build server. If you want to run the test install these dependencies. See README.md for help.
@Disabled // Ghostscript/Tesseract/Leptonica is not available on build server. If you want to run the test install these dependencies. See README.md for help.
@SpringBootTest()
public class OcrServiceIntegrationTest extends AbstractTest {