garrysmod-issues
garrysmod-issues copied to clipboard
Italic, underline and strikeout surface.CreateFont fields broken in OS X dev branch
Another regression:
lua_run_cl surface.CreateFont("TestFont", { font = "Arial", size = 28, italic = true, underline = true, strikeout = true })
lua_run_cl hook.Add("HUDPaint", "TestingFonts", function() draw.SimpleText("Testing fonts", "TestFont", 100, 100, color_white, 0, 0) end)
The italic, underline and strikeout fields do nothing. Changing the font to "Arial Italic" is a workaround for the italic field not working but this is not consistent with Windows.