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 7c96411..90071af 100644
--- a/fpdf_test.go
+++ b/fpdf_test.go
@@ -1166,9 +1166,8 @@ func ExampleFpdf_tutorial23() {
fontSize := 16.0
pdf.SetFont("Helvetica", "", fontSize)
ht := pdf.PointConvert(fontSize)
- tr := pdf.UnicodeTranslatorFromDescriptor("") // Default: "cp1252"
+ tr := pdf.UnicodeTranslatorFromDescriptor("") // "" defaults to "cp1252"
write := func(str string) {
- // fmt.Println(str, tr(str))
pdf.CellFormat(190, ht, tr(str), "", 1, "C", false, 0, "")
pdf.Ln(ht)
}