gofpdf
gofpdf copied to clipboard
A PDF document generator with high level support for text, drawing and images
# Synopsis The automatic page-breaking behavior for `MultiCell` behaves incorrectly when multiple calls to `MultiCell` cause their generated cells to span the same page break. This arises e.g. when trying...
If you use **CellFormat** with the **borderStr "LB"** or anything else the border gets coverd by the fill color. If you use the borderStr "1" everythin is fine. https://github.com/jung-kurt/gofpdf/blob/24315acbbda57c4f6b80c8441fd108087dd7e305/fpdf.go#L1991
The following code should produce two orange rectangles at x:0 and x:10. ```` pdf.TransformBegin() pdf.TransformTranslateX(0) pdf.SetFillColor(255, 127, 0) pdf.Rect(0, 0, 10, 10, "F") pdf.TransformEnd() pdf.TransformBegin() pdf.TransformTranslateX(10) pdf.SetFillColor(255, 127, 0) pdf.Rect(0,...
Hi, It would be nice to support SVG image in PDF rendering. As input file as ``` pdf.Image(p.FileName, leftPosition, topPosition, imageWidth, imageHeight, false, "", 0, "") ```
I am trying to migrate [gonum/plot](https://github.com/gonum/plot) PDF backend to gofpdf because: - it allows to embed fonts, - it has support for color opacity. see: https://github.com/gonum/plot/pull/433 however, it would be...
Hello, I'm wondering if there's functionality for filling out a form. Take a template pdf with empty form spots and use a struct or map[string]string to add data to generate...
New issue generated by the discussion starting from [here](https://github.com/jung-kurt/gofpdf/pull/185#issuecomment-418800967). Summary: * The gofpdf package only depends on the standard library * Having the gofpdf/contrib packages in the same module of...
If you the take the `Fpdf_WrappedTableCells` example and instead of having : `word := fmt.Sprintf("%d:%s", i, strings.Repeat("A", i%100))` you have : `word := fmt.Sprintf("%d:%s", i, strings.Repeat("A", 400))` This means that...
I have a Webinterface where users can write formatted Text that gets saved as HTML snippets. I use the library to write said snippets into a PDF file, which works...
Hi jung-kart, running the following code generates a password protected document. Opening the file with Adobe Acrobat (any version) does not shows the expected metadata properties (/Author, /Title, /CreationDate, ...),...