From f0b2e215483b29bf83be8b62175ee13339ec3f46 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 4 Apr 2024 11:33:55 -0700 Subject: [PATCH] font: enable the coretext shaper by default for CoreText faces --- src/font/shape.zig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/font/shape.zig b/src/font/shape.zig index b717bce23..ddc0021ea 100644 --- a/src/font/shape.zig +++ b/src/font/shape.zig @@ -10,12 +10,12 @@ pub const Shaper = switch (options.backend) { .freetype, .fontconfig_freetype, .coretext_freetype, - .coretext, => harfbuzz.Shaper, - // Has missing features, can't be used yet. See the comments in - // the coretext.zig file for more details. - //.coretext => coretext.Shaper, + // Note that coretext_freetype cannot use the coretext + // shaper because the coretext shaper request CoreText + // font faces. + .coretext => coretext.Shaper, .web_canvas => web_canvas.Shaper, };