font: enable the coretext shaper by default for CoreText faces

This commit is contained in:
Mitchell Hashimoto
2024-04-04 11:33:55 -07:00
parent de11063679
commit f0b2e21548

View File

@ -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,
};