rio icon indicating copy to clipboard operation
rio copied to clipboard

Blurry characters after update

Open mahlquistj opened this issue 6 months ago • 15 comments

I recently updated to the latest release (v0.2.20) and i am now experiencing blurry text when using CAPS or cursive text.

Image

EDIT: This only happens on certain zoom-levels. I can get around it by applying a certain zoom level, which is not ideal, but works as a quick fix for me for now.

My config:

confirm-before-quit = false
hide-mouse-cursor-when-typing = true
padding-x = 10
padding-y = [10, 10]
working-dir = "/home/maj"

[colors]
background = "#1e1e2e"
black = "#45475a"
blue = "#89b4fa"
cursor = "#f5e0dc"
cyan = "#94e2d5"
dim-black = "#45475a"
dim-blue = "#89b4fa"
dim-cyan = "#94e2d5"
dim-foreground = "#cdd6f4"
dim-green = "#a6e3a1"
dim-magenta = "#f5c2e7"
dim-red = "#f38ba8"
dim-white = "#bac2de"
dim-yellow = "#f9e2af"
foreground = "#cdd6f4"
green = "#a6e3a1"
light-black = "#585b70"
light-blue = "#89b4fa"
light-cyan = "#94e2d5"
light-foreground = "#cdd6f4"
light-green = "#a6e3a1"
light-magenta = "#f5c2e7"
light-red = "#f38ba8"
light-white = "#a6adc8"
light-yellow = "#f9e2af"
magenta = "#f5c2e7"
red = "#f38ba8"
selection-background = "#f5e0dc"
selection-foreground = "#1e1e2e"
tabs = "#1e1e2e"
tabs-active = "#b4befe"
tabs-active-foreground = "#11111b"
tabs-active-highlight = "#b4befe"
tabs-foreground = "#cdd6f4"
white = "#bac2de"
yellow = "#f9e2af"

[cursor]
blinking = true
shape = "block"

[fonts]
size = 18

[fonts.bold]
family = "SauceCodePro Nerd Font Mono"
style = "Normal"
weight = 800
width = "Normal"

[fonts.bold-italic]
family = "SauceCodePro Nerd Font Mono"
style = "Italic"
weight = 800
width = "Normal"

[fonts.italic]
family = "SauceCodePro Nerd Font Mono"
style = "Italic"
weight = 400
width = "Normal"

[fonts.regular]
family = "SauceCodePro Nerd Font Mono"
style = "Normal"
weight = 400
width = "Normal"

[navigation]
hide-if-single = true
mode = "Bookmark"
[[navigation.color-automation]]
color = "#74c7ec"
program = "nvim"

[renderer]
backend = "Automatic"
performance = "High"

[scroll]
divider = 1
multiplier = 1

[shell]
args = []
program = "fish"

[title]
content = "{{ TITLE | PROGRAM }}"
placeholder = "Rio"

[window]
blur = true
decorations = "Disabled"
opacity = 0.8

mahlquistj avatar Jun 24 '25 19:06 mahlquistj

I get the same thing, especially with comments in neovim

sbradnick avatar Jun 25 '25 01:06 sbradnick

I am having the same problem, also when zooming in a lot, some/all characters disappear (depending on how much zoom):

Image

Image

Image

I'm using Cascadia Code font in the images, but the issue also happens with other fonts.

fhilgers avatar Jun 26 '25 17:06 fhilgers

Will take a look, the zoom and disappear it happens in main before 0.2.20 (need to fix it too). Does this blurriness happens on 0.2.19?

raphamorim avatar Jun 26 '25 17:06 raphamorim

Will take a look, the zoom and disappear it happens in main before 0.2.20 (need to fix it too). Does this blurriness happens on 0.2.19?

I rebuilt after a git reset --hard 3245a162 and fonts (esp. italics) still look wonky, especially if I use a non-default config:

[fonts]
features = [
  "dlig",
  "ss01",
  "ss02",
  "ss03",
  "ss04",
  "ss05",
  "ss06",
  "ss07",
  "ss08",
]
size = 16

[fonts.regular]
family = "Cascadia Code NF"
style = "Normal"
weight = 400

[fonts.bold]
family = "Cascadia Code NF"
style = "Normal"
weight = 800

[fonts.italic]
family = "Cascadia Code NF"
style = "Italic"
weight = 400

[fonts.bold-italic]
family = "Cascadia Code NF"
style = "Italic"
weight = 800

[fonts.emoji]
family = "Noto Color Emoji"

sbradnick avatar Jun 26 '25 17:06 sbradnick

Ah ok that makes more sense in my head because i didn’t touch that part in the latest but 0.2.19

raphamorim avatar Jun 26 '25 17:06 raphamorim

Will take a look, the zoom and disappear it happens in main before 0.2.20 (need to fix it too). Does this blurriness happens on 0.2.19?

@raphamorim Can confirm this also happens on 0.2.19

Image

mahlquistj avatar Jun 27 '25 08:06 mahlquistj

If you close and reopen the terminal, it should be gone (I hope so at least). I think the bug is connected to the fixes in the font atlas cleanup

raphamorim avatar Jun 27 '25 09:06 raphamorim

If you close and reopen the terminal, it should be gone (I hope so at least). I think the bug is connected to the fixes in the font atlas cleanup

@raphamorim This does not solve the issue for me, unfortunately

mahlquistj avatar Jun 29 '25 12:06 mahlquistj

ah thank you, so it's something more deep. Will look on it, I plan to release v0.2.21 with the fixes for the 0.2.19/20 bugs

raphamorim avatar Jun 29 '25 14:06 raphamorim

@raphamorim 0.2.23 definitely fixed a lot! It is much much better now, however, there still is some odd blurriness to some characters at certain zoom-levels.. But text doesn't dissappear when zooming in completely now!

Image Image

mahlquistj avatar Jul 29 '25 07:07 mahlquistj

Ahh thank you for sharing. I thought it was gone, which font family are you using?

raphamorim avatar Jul 29 '25 09:07 raphamorim

I'm using SauceCodePro Nerd Font Mono for everything in the terminal 😄 The below is from my nix-config

Image

mahlquistj avatar Jul 29 '25 10:07 mahlquistj

Mine, which uses FiraCode Nerd Font, also has the blurry issue with Rio 0.2.23 😢

YuanYuYuan avatar Aug 01 '25 03:08 YuanYuYuan

My Linux also, use for Chinese fonts: adobe-source-han.

  • OS: Arch-Linux
  • platform: Wayland
  • WM: Hyprland

[x] 0.2.16: work good [ ] 0.2.17: blurry

Yi-Qing avatar Nov 10 '25 13:11 Yi-Qing

Hmmmm, I investigated and figured out the reason. thanks @YuanYuYuan your comment was spot on.

I think i will fix this for the v0.3 that releases soon, otherwise will need to replicate the same fix for main and 0.3 branch that are different architectures

raphamorim avatar Nov 10 '25 16:11 raphamorim