Any suggestion how to display the portion of a text bold inside a MultiCell n FPDF

StackOverflow https://stackoverflow.com/questions/12259294

  •  30-06-2021
  •  | 
  •  

문제

I am using FPDF latest version for creating pdf files in php. The task which i want to perform is that i have values stored in database with html bold tags inside them that is some text is present inside html b tag (properly inside opening and closing tags). I want to display the text inside those b tags as bold in a MultiCell.

Any suggestion how to display the portion of a text bold inside a MultiCell.

Any help will be appreciated!

도움이 되었습니까?

해결책

You can use the Fpdf Multicell add-on

다른 팁

If you are satisfied with similar solution without using MultiCell(), then no need to use Diego's suggestion, because you need to pay at least 20 EUR for that solution.

I've already answered this with only a few lines of code in FPDF - Inline bold text

You can easily modify the Rect() width and height with math to contain your database values.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top