diff options
author | Kurt Jung <kurt.w.jung@code.google.com> | 2014-04-12 20:45:03 -0400 |
---|---|---|
committer | Kurt Jung <kurt.w.jung@code.google.com> | 2014-04-12 20:45:03 -0400 |
commit | c40e4d1c694c516018f83d5a402ecbd42287bfd3 (patch) | |
tree | ed83008a02b316c80f4721d4903c3d09d0f47b23 | |
parent | 6784a99d927fbdfa045afceb976e1165ba7a85da (diff) |
Clarified comment
-rw-r--r-- | fpdf_test.go | 3 |
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) } |