N
Nathan Archer
Guest
Hey, I'm having an error with drawing in my HTML5 game. It seems like once I have a string that's long enough, or it uses a certain font or is drawn with a certain font color, there's some kind of data leak and it becomes a garbled mess.
It has an outline by drawing the same text 8 times. This is what it looks like in a different font:
It's supposed to draw the same font twice, but is instead drawing some cursive font as the background font, and it is only looking at the characters partially. The type of secondary font seems to be something random, not a font that I have added.
Really weird. Any idea how to fix this?
It has an outline by drawing the same text 8 times. This is what it looks like in a different font:
It's supposed to draw the same font twice, but is instead drawing some cursive font as the background font, and it is only looking at the characters partially. The type of secondary font seems to be something random, not a font that I have added.
Really weird. Any idea how to fix this?