xanChat

xanChat

20.1k Downloads

chat text outline and shadow

tanrak opened this issue ยท 3 comments

commented

XanChat offers a shadow option. But this is actually "THINOUTLINE" without shadow. I investigate the XanChat.lua and in line 1658 i found the reason for that. Since I use the standardized "THINOUTLINE" with shadow for all my text frames i have commented out this line.

Now it would be nice if there was maybe the possibility to set this in the options. Maybe in this form:

  • "Add outline to the chat text font."
    • "... and shadow to the chat text font.

By the way, thanks for updating all your addons. I use some of them.

commented

You are very welcome :) I'm glad you enjoy my addons.

So you are saying that the THINOUTLINE is actually not the shadow and by commenting it out it gives the shadow? I'll need to see if that's the case to add additional options if necessary.

commented

Enclosed are two pictures with a hopefully understandable explanation...

Imho the default THINOUTLINE is an text outline with shadow (image1):

f:SetFont(font, size, "THINOUTLINE")

Because the alpha value in the additional code line 1658 was set to 0, it ist now only an outline text without shadow (image2):

f:SetShadowColor(0, 0, 0, 0)

outline_with_shadow
outline_without_shadow

I know the difference is not big, but especially with a light background I find the variant with shadow more readable.

commented

Oh I see what you mean now. Yes the alpha layer for the secondary shadow was removed with that option. That is why it's showing like that depending on the alpha level you have on the chat. I'll make an additional option to separate it then. That should help out a bit.