mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-25 13:16:11 +03:00
font: enable the coretext shaper by default for CoreText faces
This commit is contained in:
@ -10,12 +10,12 @@ pub const Shaper = switch (options.backend) {
|
|||||||
.freetype,
|
.freetype,
|
||||||
.fontconfig_freetype,
|
.fontconfig_freetype,
|
||||||
.coretext_freetype,
|
.coretext_freetype,
|
||||||
.coretext,
|
|
||||||
=> harfbuzz.Shaper,
|
=> harfbuzz.Shaper,
|
||||||
|
|
||||||
// Has missing features, can't be used yet. See the comments in
|
// Note that coretext_freetype cannot use the coretext
|
||||||
// the coretext.zig file for more details.
|
// shaper because the coretext shaper request CoreText
|
||||||
//.coretext => coretext.Shaper,
|
// font faces.
|
||||||
|
.coretext => coretext.Shaper,
|
||||||
|
|
||||||
.web_canvas => web_canvas.Shaper,
|
.web_canvas => web_canvas.Shaper,
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user