Adding drop shadows to fonts

Stimulsoft Reports.JS discussion
Post Reply
compuaid
Posts: 14
Joined: Mon Aug 22, 2022 3:30 pm

Adding drop shadows to fonts

Post by compuaid »

Is it possible to apply the CSS text-shadow property to the text in textbox? I would like to add a drop shadow or blur to the actual text in a heading rather than the entire text element.

I tried setting the textbox expression to <span style = "text-shadow: 2px 2px 2px black;">My text</span> but when the report compiles it drops the <span> tags.
Max Shamanov
Posts: 768
Joined: Tue Sep 07, 2021 10:11 am

Re: Adding drop shadows to fonts

Post by Max Shamanov »

Hello,

Please check the following link with supported HTML-tags:
https://www.stimulsoft.com/en/documenta ... l_tags.htm

Thank you.
compuaid
Posts: 14
Joined: Mon Aug 22, 2022 3:30 pm

Re: Adding drop shadows to fonts

Post by compuaid »

Hi Max - okay, so reading the supported tags it looks like text-shadow is not currently implemented or supported. I would like to add that as a feature request. It would allow for some very nice styling options in HTML5 to use for things like header text and titles.
Max Shamanov
Posts: 768
Joined: Tue Sep 07, 2021 10:11 am

Re: Adding drop shadows to fonts

Post by Max Shamanov »

Hello Nigel,

Unfortunately, at the current moment, it is not possible.
We have added that task to our to-do list, we will try to add that feature in the future.

Thank you.
Post Reply