diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-10 14:18:36 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-12 13:22:02 -0300 |
| commit | 534e82b5617f584f7165c52d3025d7d584d90349 (patch) | |
| tree | 5f5ffeb0ae145d5c1cf1845efbadccf145c36f2e /src | |
| parent | 45f705a5e590c3dfddc0a544e66beb9bf6205a4d (diff) | |
| download | sketchbook-534e82b5617f584f7165c52d3025d7d584d90349.tar.gz sketchbook-534e82b5617f584f7165c52d3025d7d584d90349.zip | |
sketchbook: JetBrains Mono bundled as three more faces (.code, .code_bold, .code_italic), for programs
Diffstat (limited to 'src')
| -rw-r--r-- | src/abi.zig | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/abi.zig b/src/abi.zig index cf7b838..0cce939 100644 --- a/src/abi.zig +++ b/src/abi.zig @@ -57,10 +57,11 @@ pub const Color = extern struct { } }; -/// The face a text is set in: the Go family, bundled with the native host. -/// Mono is for data and code, sans for what is said about it. The web host -/// has one face, the page's `monospace`. -pub const Face = enum(u8) { mono, mono_bold, mono_italic, sans, sans_medium, sans_bold }; +/// The face a text is set in: the Go family, and JetBrains Mono (`code`) +/// for programs, all bundled with the native host. Mono is for data, sans +/// for what is said about it. The web host has one face, the page's +/// `monospace`. +pub const Face = enum(u8) { mono, mono_bold, mono_italic, sans, sans_medium, sans_bold, code, code_bold, code_italic }; /// How 2D drawing combines with what is already there (`Command.blend`). /// Both are fixed-function on both hosts and match: `alpha` is source |
