How to enforce font family style to HTML text
Posted: Tue Jan 28, 2025 9:23 pm
Hi,
I am designing a report and I am expecting HTML content from the data source with different font families (attached sample data.json file).
However when rendering the HTML content onto the report I would like the font family to be changed to Tahoma for all HTML content to ensure consistency. I have configured Tahoma as font family but when previewing the report, Stimulsoft is not enforcing Tahoma font family at all. When previewing the report, I can see text printed with different font family as defined in data source.
Is there any way to enforce font family? Not sure If I am missing any configuration here.
Cheers.
I am designing a report and I am expecting HTML content from the data source with different font families (attached sample data.json file).
However when rendering the HTML content onto the report I would like the font family to be changed to Tahoma for all HTML content to ensure consistency. I have configured Tahoma as font family but when previewing the report, Stimulsoft is not enforcing Tahoma font family at all. When previewing the report, I can see text printed with different font family as defined in data source.
Is there any way to enforce font family? Not sure If I am missing any configuration here.
Cheers.