Pixel Perfect 1px font outline
So I'm wondering how I could achieve a pixel perfect outline on font strings.
An exmaple are these unitframes: On the left side i'm using a shadow with 1, -1 offset. On the right side (target) I'm just using "THINOUTLINE" sadly THINOUTLINE looks really mushy and not as crisp as I want it to be. Without the outline it looks clean so I don't think font scaling is an issue. How can I achieve a clean 1 px black outline on my font? The shadow is nice but its after all still a shadow and not an outline, which means only one side is covered here. |
Try disabling all font shadows (:SetShadowOffset(0,0)) and use the 'MONOCHROMEOUTLINE' font flag.
|
Thanks that's what i was looking for
Looks pretty bad sadly. Guess the Font I'm using is not optimized for it. |
Quote:
|
Maybe yeah but smaller doesn't really look better and bigger wouldn't fit.
|
Keep in mind, the MONOCHROME flag only works well with actual pixel fonts.
|
uhh okay? Could you give me some examples? What are ACTUAL pixel fonts?
This is the one I'm using https://www.dafont.com/squarefont.font it's a really nice font and works almost everywhere but the outline looks shitty as you can see. |
That's not a pixel font. If you want examples just look at the font on many older 8-bit or 16-bit games.
|
Look for something in this "Pixel/Bitmap" category on dafont
https://www.dafont.com/bitmap.php |
Quote:
http://us.blizzard.com/en-us/games/a...archive-2.html I can't figure out how to post screenshots. |
All times are GMT -6. The time now is 03:14 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI