浏览代码

Make the font a bit smaller

Luna Stadler 4 年之前
父节点
当前提交
e08a4939a5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      zig/sdl/hello_sdl.zig

+ 1 - 1
zig/sdl/hello_sdl.zig

@ -35,7 +35,7 @@ pub fn main() !void {
35 35
    defer c.TTF_Quit();
36 36
37 37
    var font_file = if (args.len > 1) args[1] else "./FantasqueSansMono-Regular.ttf";
38
    const font = c.TTF_OpenFont(font_file, 20) orelse {
38
    const font = c.TTF_OpenFont(font_file, 16) orelse {
39 39
        c.SDL_Log("Unable to load font: %s", c.TTF_GetError());
40 40
        return error.TTFInitializationFailed;
41 41
    };