From 1a1d82c6c999be3a9a0daf2db64caff2044a98d8 Mon Sep 17 00:00:00 2001 From: Daniel Furnivall Date: Wed, 21 Sep 2022 16:36:19 +0100 Subject: [PATCH] fixed wee typo --- .../com/openhtmltopdf/testcases/PdfUaTestcaseRunnerTest.java | 2 +- .../java/com/openhtmltopdf/pdfboxout/PdfRendererBuilder.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openhtmltopdf-examples/src/test/java/com/openhtmltopdf/testcases/PdfUaTestcaseRunnerTest.java b/openhtmltopdf-examples/src/test/java/com/openhtmltopdf/testcases/PdfUaTestcaseRunnerTest.java index cb691a709..20b94ec34 100644 --- a/openhtmltopdf-examples/src/test/java/com/openhtmltopdf/testcases/PdfUaTestcaseRunnerTest.java +++ b/openhtmltopdf-examples/src/test/java/com/openhtmltopdf/testcases/PdfUaTestcaseRunnerTest.java @@ -47,7 +47,7 @@ private static void run(String testCase) throws IOException { PdfRendererBuilder builder = new PdfRendererBuilder(); builder.useFastMode(); builder.testMode(true); - builder.usePdfUaAccessbility(true); + builder.usePdfUaAccessibility(true); builder.useFont(new File("target/test/visual-tests/Karla-Bold.ttf"), "TestFont"); builder.withHtmlContent(html, PdfUaTestcaseRunnerTest.class.getResource("/testcases/pdfua/").toString()); builder.toStream(os); diff --git a/openhtmltopdf-pdfbox/src/main/java/com/openhtmltopdf/pdfboxout/PdfRendererBuilder.java b/openhtmltopdf-pdfbox/src/main/java/com/openhtmltopdf/pdfboxout/PdfRendererBuilder.java index 595583374..2f3fc4e61 100644 --- a/openhtmltopdf-pdfbox/src/main/java/com/openhtmltopdf/pdfboxout/PdfRendererBuilder.java +++ b/openhtmltopdf-pdfbox/src/main/java/com/openhtmltopdf/pdfboxout/PdfRendererBuilder.java @@ -191,7 +191,7 @@ public PdfRendererBuilder usePdfAConformance(PdfAConformance pdfAConformance) { * @param pdfUaAccessibility * @return this for method chaining */ - public PdfRendererBuilder usePdfUaAccessbility(boolean pdfUaAccessibility) { + public PdfRendererBuilder usePdfUaAccessibility(boolean pdfUaAccessibility) { this.state._pdfUaConform = pdfUaAccessibility; return this; }