fonts: repurpose experimental_svg_fonts -> ignore_svg_fonts
Now we can optionally skip loading svg fonts, making our default to continue to try to use them. We don't actually support interpreting svg data, but we do now support COLR v1 data which is found in some of those same fonts. refs: https://github.com/wez/wezterm/issues/4148
This commit is contained in:
2 files changed
+3
-3
No files matched your search
@@ -721,7 +721,7 @@ pub struct Config {
|
||||
pub experimental_pixel_positioning: bool,
|
||||
|
||||
#[dynamic(default)]
|
||||
pub experimental_svg_fonts: bool,
|
||||
pub ignore_svg_fonts: bool,
|
||||
|
||||
#[dynamic(default)]
|
||||
pub bidi_enabled: bool,
|
||||
|
||||
@@ -372,8 +372,8 @@ impl ParsedFont {
|
||||
};
|
||||
|
||||
if has_svg {
|
||||
if !config::configuration().experimental_svg_fonts {
|
||||
anyhow::bail!("skip svg font");
|
||||
if config::configuration().ignore_svg_fonts {
|
||||
anyhow::bail!("skipping svg font because ignore_svg_fonts=true");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user