gofpdf
gofpdf copied to clipboard
Text format Bold and Underline within Single MultiCell Cell
Hi Jung-Kurt While using MultiCell. In a single cell, how do i get to Bold some text while other text is left not bold. Furthermore, how do i go about underlining some text while other text isn't underlined.
Your assistance would be highly appreciated
Unfortunately, gofpdf supports only one font attribute in MultiCell()
. You could try modifying the code in htmlbasic.go to achieve your objective. Call GetStringWidth()
to calculate word spacing for text justification.