Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

font blank without ttf-dejavu #501

Open
tkkcc opened this issue Jun 23, 2024 · 0 comments
Open

font blank without ttf-dejavu #501

tkkcc opened this issue Jun 23, 2024 · 0 comments

Comments

@tkkcc
Copy link

tkkcc commented Jun 23, 2024

cargo run in examples/widget-gallery gives blank font, no warn or error. environment is archlinux, closely related to lapce/lapce#607

  1. tried rename ~/.config/fontconfig, no help
  2. after install ttf-dejavu, the font shows. i dont use this font, and have no font rendering issue with alacritty(default config, so it use monospace) and gtk or qt or webview based guis(they all respect fontconfig).
  3. this library seems not respect fontconfig

image

my fontconfig:

<fontconfig>
    <match>
        <test qual='all' name='family' compare='not_eq'><string>ZhunYuan</string></test>
        <edit name='family' mode="assign_replace">
         <string>Consolas Nerd Font</string>
          <string>JetBrainsMono Nerd Font</string>
         <string>Microsoft YaHei</string>
        </edit>
    </match>
</fontconfig>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant