FNCPDFLib HTML issues

Hello

I use FNCPDFLib in order to print to bluetooth devices information from FNCTableView, next photo is the text source I will use to generate a custom PDF file and then print.

However once I used "CalculateHTMLText" or "DrawHTMLText" gave me the next issue:

If I used "CalculateText" and "DrawText" gave me the result:

ArchivoTimbralofacilLocal (1).pdf (66.8 KB)

Any ideas why you have that issues with HTML functions?

I am using Delphi 12.1 with latest FNC UI Pack components

You might want to use TTMSFNCGraphicsPDFEngine class for rendering HTML text

It does not work too, that class does not have calculateHTMLtext and DrawHTMLtext functions

I solved my problem with the "StrippedHTMLText" function in order to GET pure text of every FNCTableViewItem instead of his HTML value.

However you need to take a look at the "CalculateHTMLText" or "DrawHTMLText" of FNCPDFLib

Thanks for notifying, we will take a look. But the TTMSFNCGraphicsPDFEngine is actually based on the normal TTMSFNCGraphics, it has CalculateText & DrawText methods

I agree with you TTMSFNCGraphicsPDFEngine is based on TTMSFNCGraphics.

But I disagree that TTMSFNCGraphicsPDFEngine hasn't CalculateHTMLText and DrawHTMLText methods

I never wrote "CalculateText & DrawText"

Yes, but CalculateText takes into account HTML & normal text, there is on separation. DrawText also supports HTML formatted text for rendering.