pdf-php icon indicating copy to clipboard operation
pdf-php copied to clipboard

Change the font of one field in one row of a table

Open RPort71 opened this issue 2 years ago • 1 comments

Is there a way to do this? We can use tags, so is it possible to change the font size in the same way? I don't see anything related to this for just one field. Thank you.

RPort71 avatar Jul 28 '22 08:07 RPort71

As far as I know that is not possible. Perhaps you can work on your own fontsize callback, i.e.

<c:fontsize:15>My text</c:fontsize>

Working on a callback for this you could set different font sizes for different pieces of text even in a table. But as said, this should be custom code made by you. Check the documentation for further info.

In any case I'm checking the addText code and seems that is not going to bepossible for now even using a callback.

Note: possible duplicate of #94

savioret avatar May 15 '23 12:05 savioret