diff options
-rw-r--r-- | fpdf.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -358,6 +358,9 @@ func (f *Fpdf) SetPageBox(t string, pb PageBox) { fallthrough case "artbox": t = "ArtBox" + default: + f.err = fmt.Sprintf("%s is not a valid page box type") + return } pb.X = pb.X * f.k |