Greetings everybody. I have a text warp problem and I can't fix it.
Please help me solve this problem.
https://files.facepunch.com/forum/upload/398252/e8826d7e-c6ad-4aef-bac5-6495ecba9805/helloworld.png
Font:
surface.CreateFont( "testfont2", {
font = "Roboto",
size = 20,
blursize = 0,
} )
surface.CreateFont( "testfont1", {
font = "Roboto",
size = 20,
blursize = 1,
} )
Function:
local function CoolText( text, x, y, color, shadow, align )
if shadow then draw.SimpleText( text, 'testfont1', x, y, color, align, TEXT_ALIGN_BOTTOM ) end
draw.SimpleText( text, 'testfont2', x, y, color, align, TEXT_ALIGN_BOTTOM )
end
CoolText( 'Hello world!', 100, 100, Color( 255,255,255,255 ), false, TEXT_ALIGN_LEFT )
I don't see the purpose of this function lol...
In fact, this function does not really matter. I needed it for a more comfortable creation of text with shadows. I edited the tread. And yes, the function does not affect the problem in any way.
Remove the "blursize" value completely and delete testfont1. Tell me if anything changes and we can go from there.
His did blursize on purpose
Sorry, you need to Log In to post a reply to this thread.