diff options
-rw-r--r-- | pdf/create.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf/create.go b/pdf/create.go index 943c5ce..ecec798 100644 --- a/pdf/create.go +++ b/pdf/create.go @@ -104,7 +104,7 @@ func line(pdf *gofpdf.Fpdf, format rules.Format, html gofpdf.HTMLBasicType, text pdf.MultiCell(0, 0.165, text, "", format.Align, false) } -func Create(file string, format rules.Set, contents lex.Screenplay) { +func Create(file string, format rules.Set, contents lex.Document) { pdf := gofpdf.New("P", "in", "Letter", "") pdf.AddUTF8FontFromBytes("CourierPrime", "", font.MustAsset("Courier-Prime.ttf")) pdf.AddUTF8FontFromBytes("CourierPrime", "B", font.MustAsset("Courier-Prime-Bold.ttf")) |