diff options
| author | Mitchell Hashimoto <mitchell.hashimoto@gmail.com> | 2024-04-05 21:48:53 -0700 |
|---|---|---|
| committer | Mitchell Hashimoto <mitchell.hashimoto@gmail.com> | 2024-04-05 21:48:53 -0700 |
| commit | b77513de1a6bcfd9d23fc35bcfb5cb86e8cabaaf (patch) | |
| tree | ff6f01144d70bffd87a4fc9bd7fa5bc1cc131c67 /src/font/Collection.zig | |
| parent | 6aa659c4b5c7ad23c1fb2197e3f85f115b137d46 (diff) | |
font/harfbuzz: work with new font structures
Diffstat (limited to 'src/font/Collection.zig')
| -rw-r--r-- | src/font/Collection.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/font/Collection.zig b/src/font/Collection.zig index 89d4aee4c..38f4b92f8 100644 --- a/src/font/Collection.zig +++ b/src/font/Collection.zig @@ -554,6 +554,8 @@ test getIndex { } test autoItalicize { + if (comptime !@hasDecl(Face, "italicize")) return error.SkipZigTest; + const testing = std.testing; const alloc = testing.allocator; const testFont = @import("test.zig").fontRegular; |
