summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fpdf_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/fpdf_test.go b/fpdf_test.go
index 76a8c1b..0da5e73 100644
--- a/fpdf_test.go
+++ b/fpdf_test.go
@@ -1166,7 +1166,7 @@ func ExampleFpdf_tutorial22() {
// This example demonstrates the conversion of UTF-8 strings to an 8-bit font
// encoding.
func ExampleFpdf_tutorial23() {
- pdf := gofpdf.New("P", "mm", "A4", cnFontDir) // A4 210.0 x 297.0
+ pdf := gofpdf.New("P", "mm", "A4", "") // A4 210.0 x 297.0
fontSize := 16.0
pdf.SetFont("Helvetica", "", fontSize)
ht := pdf.PointConvert(fontSize)
@@ -1237,7 +1237,6 @@ func ExampleFpdf_tutorial25() {
x = gap + radius
for col := 0; col < colCount; col++ {
pts = vertices(row*colCount + col + 3)
- // pdf.Circle(x, y, radius, "FD")
pdf.Polygon(pts, "FD")
x += advance
}