You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Better to provide a global font-family settings, for overlay, splash and the others, instead of the hard coded sans. There are settings to select font for groupbar and splash, another one for the overlay might need to be add.
The symbol only nerd font is the first to match, and then the others as fallback, this works well for my other applications, without the need to install many other nerd patched fonts.
However, hyprland is using cairo_select_font_face() along with pango_layout_set_font_description() to render the fonts, the first one from cairo doesn't support such font glyphs fallback, and pango does, so for my case, the overlay message is all blocks.
It might be better to render only with pango for the project, rather than using both.
If you're willing, I may make the changes and create a PR later
The text was updated successfully, but these errors were encountered:
rtgiskard
changed the title
[enhance] allow to set a global font family and size, and render with pango
[enhance] allow to set a global font, and render with pango only
May 15, 2024
rtgiskard
changed the title
[enhance] allow to set a global font, and render with pango only
allow to set a global font, and render with pango only
May 15, 2024
Description
Better to provide a global
font-family
settings, for overlay, splash and the others, instead of the hard codedsans
. There are settings to select font for groupbar and splash, another one for the overlay might need to be add.And, I'm using a local font config like this:
The symbol only nerd font is the first to match, and then the others as fallback, this works well for my other applications, without the need to install many other nerd patched fonts.
However, hyprland is using
cairo_select_font_face()
along withpango_layout_set_font_description()
to render the fonts, the first one fromcairo
doesn't support such font glyphs fallback, andpango
does, so for my case, the overlay message is all blocks.It might be better to render only with
pango
for the project, rather than using both.If you're willing, I may make the changes and create a PR later
The text was updated successfully, but these errors were encountered: