Label outline / shadow doesn't show at runtime (SOLVED)

I created an empty project and just added some labels, both gui and not. Here’s how it looks in the editor:

Imgur

And this is what shows when the project is run:

I’m using a random font I found online, but the same issue was with system_font. It looks the same when budled too.

I’m unable to reproduce any font problems. Can you share a repro project?

Here you go. Maybe it’s something on my end?

Testing_outline.zip (186.6 KB)

The actual test_font.font doesn’t have outline width or alpha set. The slight outline shown in the editor is unfortunate in your case :confused:

2 Likes

I see. That fixes it. Is that a new change to the default font? I was using outline+shadow in one of my projects as a quick way to show a button is hovered over that wouldn’t interfere with selection colour (I’ve since moved to using alpha for that).

It was working “recently”, but I’m not entirely sure what “recently” is, as I haven’t touched the project for some time.

The default value? I think we changed it ~9 months ago or something like that.

That’s odd. I’m pretty sure outlines worked for me without making any changes to the default font long after that, and I don’t think I was working with a severely outdated version of defold.

In any case the issue is solved. Thanks!