add bold font, doesn't work yet

This commit is contained in:
Mitchell Hashimoto
2022-06-28 10:52:59 -07:00
parent 385a682b24
commit d5b018349c
3 changed files with 2 additions and 0 deletions

BIN
fonts/Inconsolata-Bold.ttf Normal file

Binary file not shown.

View File

@ -4,6 +4,7 @@ pub const Glyph = @import("Glyph.zig");
/// Embedded fonts (for now)
pub const fontRegular = @import("test.zig").fontRegular;
pub const fontBold = @import("test.zig").fontBold;
/// The styles that a family can take.
pub const Style = enum {

View File

@ -1 +1,2 @@
pub const fontRegular = @embedFile("../../fonts/Inconsolata-Regular.ttf");
pub const fontBold = @embedFile("../../fonts/Inconsolata-Bold.ttf");