Forum

You need to log in to create posts and topics.

Bug with text-stroke

Hi!

 

Sorry if my english is not perfect.

I have a bug with text-stroke. It's just a div in absolute position. The text is dynamicaly changed by C# script when a Raycast hit an object (only if the string is different to avoid reflow)

 

You can see the bug with my screenshot. The "outline" is just square when is displayed... On some characters he's simply not displayed...

 

How to fix that?

 

EDIT:

I found a "solution"... Duplicate the text (5 elements total), positions all in absolute then displace four each from 1px in all direction. The result is perfect but i want a real solution.

JSFiddle

 

Uploaded files:
  • bug.png

Want the latest updates? Check out the repositories.