stroke text
Hi guys, I want to create some text like the picture but when I use
text-stroke
the text is broken. Is there any way to fix it?
4 Replies
this seems to be a issue with the font nothing you can do about it i'm afraid
It looks bad because of the way the font is built. However, you can achieve an approximation of an outline with a series of text shadows: https://codepen.io/Beanie127/pen/GRbaKVN
Note you have to set an actual colour on the text rather than transparent, otherwise the shadow will be visible behind the text, and to scale it up to larger sizes, you'd need an increasing number of shadows to fill in each angle to make it look even slightly good (to see what I mean, scale up each 1px to 4px).
Thank you. I'll try