feat(gui): add freetype rasterizer backend
This commit is contained in:
parent
1901696b7b
commit
d3aa7e17f5
8 changed files with 751 additions and 456 deletions
|
|
@ -1,7 +1,14 @@
|
|||
fontface: []const u8 = "Cascadia Code",
|
||||
fontface: []const u8 = "IosevkaTerm Nerd Font Mono",
|
||||
fontsize: u8 = 14,
|
||||
fontweight: u8 = 0,
|
||||
fontbackend: RasterizerBackend = .freetype,
|
||||
|
||||
initial_window_x: u16 = 1087,
|
||||
initial_window_y: u16 = 1014,
|
||||
|
||||
include_files: []const u8 = "",
|
||||
|
||||
pub const RasterizerBackend = enum {
|
||||
truetype,
|
||||
freetype,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue