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; }