Font = Creates a drawable Font; Input: (path, fontName) Text = Draws a 2D Text; Input: (text, size, x, y, Color, Font)
I would assume this is correct, but it isnt.
local font = Draw.Font(FONTS_PATH, "DejaVuSans") --doesnt work local font = Draw.Font(FONTS_PATH, "DejaVuSans.ttf") --doesnt work local font = Draw.Font(FONTS_PATH.."DejaVuSans.ttf", "DejaVuSans") --doesnt work local font = Draw.Font(FONTS_PATH.."DejaVuSans", "DejaVuSans.ttf") --doesnt work ...and tried a lot more possibilities ----- local color = Draw.Color(255, 255, 0, 0) Draw.Text("Helloworld", 24, 15, 600, color, font)
Anyone with a solution?