summaryrefslogtreecommitdiff
path: root/src/abi.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-10 14:38:11 -0300
committerGabriel Schneider <[email protected]>2026-11-12 13:22:02 -0300
commit7dd447b7c8a21187af4fabade2111a0016e4b3a3 (patch)
tree309cab6fddb881eef3757a883077c4301b1687c0 /src/abi.zig
parent534e82b5617f584f7165c52d3025d7d584d90349 (diff)
downloadsketchbook-7dd447b7c8a21187af4fabade2111a0016e4b3a3.tar.gz
sketchbook-7dd447b7c8a21187af4fabade2111a0016e4b3a3.zip
sketchbook: JetBrains Mono NL (no ligatures) for the code faces, and its medium weight (.code_medium)
Diffstat (limited to 'src/abi.zig')
-rw-r--r--src/abi.zig5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/abi.zig b/src/abi.zig
index 0cce939..a7a5cce 100644
--- a/src/abi.zig
+++ b/src/abi.zig
@@ -57,11 +57,12 @@ pub const Color = extern struct {
}
};
-/// The face a text is set in: the Go family, and JetBrains Mono (`code`)
+/// The face a text is set in: the Go family, and JetBrains Mono NL (`code`,
+/// without ligatures; its medium weight for small sizes on a dark ground)
/// 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 };
+pub const Face = enum(u8) { mono, mono_bold, mono_italic, sans, sans_medium, sans_bold, code, code_bold, code_italic, code_medium };
/// How 2D drawing combines with what is already there (`Command.blend`).
/// Both are fixed-function on both hosts and match: `alpha` is source