gofpdf
gofpdf copied to clipboard
A PDF document generator with high level support for text, drawing and images
Hello, I'm looking into using gofpdf, but my team requires a package that keeps accessibility changes added by adobe acrobat pro, such as accessibility tags and reading order. Does gofpdf...
Hey` guys, I am trying to figure out why my code is not working as expected. I have markdown source code, which I am converting with: https://github.com/gomarkdown/markdown It is giving...
Hi, I have an index out of range with [email protected] ``` panic: runtime error: index out of range [53] with length 0 goroutine 66 [running]: github.com/phpdave11/gofpdf.(*Fpdf).write(0xc0003ac000, 0x4020000000000000, {0xc0004eaf00?, 0x4?}, 0x4?,...
More carefully inspect the font for "character width" for each character (rune) and do not crash if the font does not have a width for the character. I was receiving...
There is a diffuser format of PDF called PDF/A-2 that is allowing embedding other contents at the pdf file, let's say embedding xml file inside the pdf file, is this...
If splittext is called with an active Arial font and the text contains an "En Dash" UTF character 8211/0x2013 there is a panic: ``` github.com/phpdave11/gofpdf.(*Fpdf).SplitText(0x1?, {0xc0000e0210?, 0xc0000d7090?}, 0x3ff0000000000000?) ~/mygo/pkg/mod/github.com/phpdave11/[email protected]/splittext.go:28 +0x4c5...
The SetCellStretchToFit function can be used to set horizontal stretching of text to fit the full width of a cell. This is particularly useful when trying to precisely line up...
Hello, I have a use case where we are generating PDFs using the HTML interface, and the HTML references a CSS stylesheet on the local file system. Looking through the...
## Steps to reproduce: 1. create a new `*gofpdf.FPDF`: ```go pdf := gofpdf.New("P", "pt", "Letter", "") ``` 2. set the font to Courier 12: ```go pdf.SetFont("courier", "", 12) ``` 3....