diff options
| author | Mitchell Hashimoto <m@mitchellh.com> | 2024-08-23 21:19:20 -0700 |
|---|---|---|
| committer | Mitchell Hashimoto <m@mitchellh.com> | 2024-08-24 19:49:04 -0700 |
| commit | ac3e2163f342ae89c8c683b19833c52dfff6cc4c (patch) | |
| tree | 6d02a9aeb2255388ed7f660b697b8fcfc8a35df0 /src/font/Collection.zig | |
| parent | ce6c5517afe140a050ca4978aab90bf4e5ffcdb4 (diff) | |
typos
Diffstat (limited to 'src/font/Collection.zig')
| -rw-r--r-- | src/font/Collection.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/font/Collection.zig b/src/font/Collection.zig index fbc23f007..842867930 100644 --- a/src/font/Collection.zig +++ b/src/font/Collection.zig @@ -300,7 +300,7 @@ pub fn completeStyles(self: *Collection, alloc: Allocator) CompleteError!void { } else |_| {} // If synthesizing italic failed, then we try to synthesize - // boldon whatever italic font we have. + // bold on whatever italic font we have. } // Nested alias isn't allowed so we need to unwrap the italic entry. @@ -328,7 +328,7 @@ pub fn completeStyles(self: *Collection, alloc: Allocator) CompleteError!void { } } -// Create an synthetic italic font face from the given entry and return it. +// Create a synthetic bold font face from the given entry and return it. fn syntheticBold(self: *Collection, entry: *Entry) !Face { // Not all font backends support synthetic bold. if (comptime !@hasDecl(Face, "syntheticBold")) return error.SyntheticBoldUnavailable; @@ -348,7 +348,7 @@ fn syntheticBold(self: *Collection, entry: *Entry) !Face { return face; } -// Create an synthetic italic font face from the given entry and return it. +// Create a synthetic italic font face from the given entry and return it. fn syntheticItalic(self: *Collection, entry: *Entry) !Face { // Not all font backends support synthetic italicization. if (comptime !@hasDecl(Face, "syntheticItalic")) return error.SyntheticItalicUnavailable; |
