gfx: individual styles for text segments
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
fc4c3d06a3
commit
e1ce5c5662
2 changed files with 95 additions and 89 deletions
|
|
@ -9,6 +9,9 @@ pub const Text = @import("Text.zig");
|
|||
pub const Font = @import("font/main.zig").Font;
|
||||
pub const TextRun = @import("font/main.zig").TextRun;
|
||||
pub const Glyph = @import("font/main.zig").Glyph;
|
||||
pub const px_per_pt = @import("font/main.zig").px_per_pt;
|
||||
pub const font_weight_normal = 400;
|
||||
pub const font_weight_bold = 700;
|
||||
|
||||
test {
|
||||
const std = @import("std");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue