Skip to content
This repository has been archived by the owner on Nov 13, 2021. It is now read-only.

Text format Bold and Underline within Single MultiCell Cell #284

Open
bennsid opened this issue Aug 7, 2019 · 1 comment
Open

Text format Bold and Underline within Single MultiCell Cell #284

bennsid opened this issue Aug 7, 2019 · 1 comment

Comments

@bennsid
Copy link

bennsid commented Aug 7, 2019

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

@jung-kurt
Copy link
Owner

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants