mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 16:56:09 +03:00
font: web canvas doesn't support discovery
This commit is contained in:
@ -10,9 +10,10 @@ const log = std.log.scoped(.discovery);
|
||||
|
||||
/// Discover implementation for the compile options.
|
||||
pub const Discover = switch (options.backend) {
|
||||
.freetype => void, // no discovery
|
||||
.fontconfig_freetype => Fontconfig,
|
||||
.coretext => CoreText,
|
||||
else => void,
|
||||
.coretext, .coretext_freetype => CoreText,
|
||||
.web_canvas => void, // no discovery
|
||||
};
|
||||
|
||||
/// Descriptor is used to search for fonts. The only required field
|
||||
|
Reference in New Issue
Block a user