summaryrefslogtreecommitdiff
path: root/fpdf_test.go
diff options
context:
space:
mode:
authorKevin Seidel <kevin@zahlz.com>2018-01-02 14:38:12 +0100
committerKevin Seidel <kevin@zahlz.com>2018-01-02 14:38:12 +0100
commit242444464510f0bf64b60f38f6f44e28d3da137f (patch)
treeca6b27bdecbebe8a54cc3276f791ff2c95aa2da9 /fpdf_test.go
parentd0cda52642506c515aed23ac7468831de11ad465 (diff)
parentc8debdafb5eeac8330420d4b1699cc1094237805 (diff)
Merge branch 'master' of https://github.com/jung-kurt/gofpdf
Diffstat (limited to 'fpdf_test.go')
-rw-r--r--fpdf_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdf_test.go b/fpdf_test.go
index 76ef558..ff41fd2 100644
--- a/fpdf_test.go
+++ b/fpdf_test.go
@@ -191,7 +191,7 @@ func lorem() string {
// finally retrieved with the output call where it can be handled by the
// application.
func Example() {
- pdf := gofpdf.New("P", "mm", "A4", "")
+ pdf := gofpdf.New(gofpdf.OrientationPortrait, "mm", "A4", "")
pdf.AddPage()
pdf.SetFont("Arial", "B", 16)
pdf.Cell(40, 10, "Hello World!")