using two different font sizes in a single multi_cell #793
-
The following is my requirement: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @Nithyashri-E! Very recently we already had a discussion about varying font sizes in #786 This is currently not supported, but is technically doable, @gmischler is currently working on refactoring this part of |
Beta Was this translation helpful? Give feedback.
-
@Nithyashri-E, I've just checked in #897, which should solve your problem.
Edit: Published with release 2.7.6 |
Beta Was this translation helpful? Give feedback.
@Nithyashri-E, I've just checked in #897, which should solve your problem.
Well, technically it's not going to be a
multi_cell
but an instance oftext_columns()
, and if you need borders around it you'll have to draw them yourself. but you can freely change fonts within line wrapped text.You can install the currently unreleased code (about to be released as 2.7.6 very soon) like this:pip install git+https://github.com/py-pdf/fpdf2.git@master
and test it in your environment.Edit: Published with release 2.7.6