Skip to content

Kitty doesn't respect fontconfig settings anymore #7773

@dtcyganok

Description

@dtcyganok

Describe the bug
After v0.36.0 has been released kitty stopped respecting fontconfig OpenType font features settings.

To Reproduce
Steps to reproduce the behavior:

  1. Edit ~/.config/fontconfig/fonts.conf:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
  <match target="font">
    <test name="family">
      <string>JetBrains Mono</string>
    </test>
    <edit name="fontfeatures" mode="assign">
      <string>calt off</string>
      <string>zero</string>
      <string>cv06</string>
      <string>cv07</string>
      <string>cv08</string>
    </edit>
  </match>
</fontconfig>
  1. Run kitty kitty --config NONE
  2. See that the font features settings haven't been applied

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions