JujuAdams / Scribble

Efficient, internationalized, multi-effects text renderer for GameMaker
https://www.jujuadams.com/Scribble/
MIT License
335 stars 46 forks source link

font_bake_shadow() dY stretches top pixel of letters #526

Closed KingDevyn closed 4 months ago

KingDevyn commented 4 months ago

Using font_bake_shadow() with a large dY value can be seen stretching the top pixel of letters in the shadow equal to the drop shadow height.

JujuAdams commented 4 months ago

How large is "large" in this situation?

KingDevyn commented 4 months ago

I think any size technically, it's just not visible until the shadow extents below the bottom of the topmost line in any given letter. Specifically I got this error using spritefonts with hard shadows. I'm unsure if it applies under other circumstances.

JujuAdams commented 4 months ago

Fix here: https://github.com/JujuAdams/Scribble/commit/cbebc0431eb027926a3ce4e2a53a971ba8b3edbb