garrysmod-issues icon indicating copy to clipboard operation
garrysmod-issues copied to clipboard

Italic, underline and strikeout surface.CreateFont fields broken in OS X dev branch

Open Bo98 opened this issue 10 years ago • 0 comments

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.

Bo98 avatar Jan 17 '15 15:01 Bo98