change default font size

This commit is contained in:
Mitchell Hashimoto
2022-05-19 14:07:50 -07:00
parent 3b54d05aec
commit 1d0724330e

View File

@ -89,7 +89,7 @@ pub fn init(alloc: Allocator) !Grid {
errdefer atlas.deinit(alloc); errdefer atlas.deinit(alloc);
var font = try FontAtlas.init(atlas); var font = try FontAtlas.init(atlas);
errdefer font.deinit(alloc); errdefer font.deinit(alloc);
try font.loadFaceFromMemory(face_ttf, 40); try font.loadFaceFromMemory(face_ttf, 32);
// Load all visible ASCII characters and build our cell width based on // Load all visible ASCII characters and build our cell width based on
// the widest character that we see. // the widest character that we see.