Page 1 of 1

Shadow

Posted: Mon Dec 23, 2019 7:46 pm
by Jonne Haven
Season's Greetings all,

There is a shadow option that I like to use with my font in Microsoft Word 360. Is it possible to add the shadow in my font so that users who don't know how can benefit from the shadow feature. I don't mind no longer having no shadow in my font.

Thanks
Jonne

Re: Shadow

Posted: Mon Dec 23, 2019 8:24 pm
by Bhikkhu Pesala

Re: Shadow

Posted: Tue Dec 24, 2019 8:23 pm
by Jonne Haven
Merry Christmas!

I looked up that thread Bhikku Pesala but that is not the kind of shadow I want. These are two pics one with no shadow and one from Microsoft windows effects. I'd like to make my font look like the Word version for other programs.

I tried to do it on my own but I don't understand the program well enough. Please help! It would make my Christmas!

Without Shadow.png
Without Shadow.png (106.03 KiB) Viewed 7840 times
Without Shadow.png[/attachment]

Re: Shadow

Posted: Tue Dec 24, 2019 9:37 pm
by Bhikkhu Pesala
It is not possible to include transparency in a font. You can only get a sharp shadow. You could use a grey colour with colour glyphs, but it would still be sharp.

Re: Shadow

Posted: Thu Dec 26, 2019 2:56 am
by Jonne Haven
Thanks Bhikkhu Pesala,

That's a bummer but it's good to know my limits.

Thanks again!

Merry Christmas

Jonne

Re: Shadow

Posted: Thu Dec 26, 2019 12:42 pm
by Erwin Denissen
The color palette supports colors with transparency, so it might be possible to mimic it.

Re: Shadow

Posted: Thu Dec 26, 2019 1:04 pm
by Bhikkhu Pesala
Erwin Denissen wrote: Thu Dec 26, 2019 12:42 pm The color palette supports colors with transparency, so it might be possible to mimic it.
Tricky though, because it needs a graduated transparency to look good, which would mean several shadows with increasing transparency.

Re: Shadow

Posted: Thu Dec 26, 2019 1:08 pm
by Erwin Denissen
Yes, that is true. It might be a fun experiment to add such thing as a new transform feature e.g.:
Generate color with shadow from default outline

With SVG color support in your fonts, you could also use a shadow filter (e.g. feGaussianBlur), but that is not supported by all rasterizers that implemented support for fonts with SVG color outlines. Or maybe the specs even restrict you from using it, and some implementations (Firefox) support it even though they shouldn't.

Maybe an SVG with a linear gradient could also do the trick, but not with FontCreator 12.

Re: Shadow

Posted: Fri Dec 27, 2019 10:30 am
by PJMiller
Inkscape uses the SVG format and that does all sorts of gradients very well. The source code is all freely available. Might be worth a look just as an example of how someone else did it.