From 75340f0d33b78f6c9753282ece98a8e93469bf94 Mon Sep 17 00:00:00 2001 From: "Evgeny.Baram" Date: Wed, 5 Feb 2020 12:53:20 +0700 Subject: [PATCH] Fixed mistake in Forms documentation (set font) --- docs/forms.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/forms.md b/docs/forms.md index 4580f04..1b74881 100644 --- a/docs/forms.md +++ b/docs/forms.md @@ -267,7 +267,7 @@ Yes that's the same method as is used when setting the text font. The `font` method must be called before `initForm` and may be called before `formField` or any of the form annotation methods. ```js -doc.setFont('Courier'); +doc.font('Courier'); doc.formText('myfield', 10, 10, 200, 20); ```