kwilcz / Antario

Clean base/cheat made for CS:GO.
MIT License
133 stars 34 forks source link

font dropshadow still shows while alpha is 0 #71

Closed ritalinaddict closed 5 years ago

ritalinaddict commented 5 years ago

thought I should tell you that the font's drop shadow (when using the flag) will still show even though the fonts alpha is set to 0 (seems to be because the dropshadow doesn't take into account your fonts alpha). also you should probably add a flag for outlining text (i think ive seen it in a few older d3dfont classes) as drawing white text over any light color is almost unreadable no matter what weight/font you use

also on a random note in drawmanager you only set tahoma10 to nullptr

certmemer commented 5 years ago

fixed bro

ritalinaddict commented 5 years ago

whoops you forgot to also fix it for DrawString, you only did it for DrawStringScaled. also the color you set the shadow to (dwColor & 0x00ffffff) seems way too bright. changing it to 0x9a000000 (color you used before) instead of 0x00ffffff makes it look normal again.

apart from those hotfix's it works perfectly, thank you (wasnt sure if I should make a new issue or not, didnt want to clutter up the github)

certmemer commented 5 years ago

yea i made the shadow get the original color of the text and that messed it up lol, it's fine now