Rendering issues due to a specific file
Hello! o)
I can't seem to get superfile to render correctly (I tried v1.4.0-rc1 and v1.3.3 / Debian 12 - stable), I think I even installed a nerd font, but honestly, I can't figure out if that font is used or not (and I cannot seem to select any of the installed nerd font in the font picker of the xfce4-terminal). I also read about Debian patching generic fonts to include nerd font / material style symbols which leaves me confused even more. Do I even need a nerdfont? Is there a way to use superfile "as is" with no fancy extra font required? I would prefer that..
I am not sure this is a bug, this is more some kind of question, please don't mind, but I was thinking this is the best place to ask for help! o)
The visually not very pleasing experience already starts when using the install script, the logo is effed up, I use a quite common monospace font (I guess).
This is "in" the application, weird symbols on the left top:
And with files in the preview, the whole UI get's corrupted (I think it is related to special characters in that *.desktop file).
https://github.com/user-attachments/assets/283d73cc-6838-4e92-bfad-f0b6b1439611
Maybe you know a quick way to fix this? Thank you! o)
Ok, I installed some more nerd fonts and one of them finally showed up in the xfce4-terminal setting font picker. The weird symbols in superfile seem to gone now, but the rendering issue persists:
This is the file creating the rendering issue, when shown by the preview area (I added *.txt extension to make it upload here).
The logo still shows up "screwed" I think when installing, even with the nerd font in use, not sure this is meant to be like this? Maybe it's my terminal application? I don't know.. it's not that important I guess.
Thanks! o)
xfce4-web-browser.desktop
I feel that file has some characters is not being handled by our application, we we are causing layout corruption while attempting to render it.
The logo you see while install is not dependent of nerd font.
As far as I know, its supposed to look like this
I also feel its not that clear and nice. Please feel free to raise a PR to update it to a better logo.
This is where its defined
- https://github.com/yorukot/superfile/blob/main/website/public/install.sh
I can reproduce the layout issue due to this file
Ah, so the logo actually looks like it's meant to look like, okaaay! o) I still remember the ASCII art days, back in the last century. The superfile ASCII looks odd to me, I was really thinking it was rendering bad or had some other issue. Thank you for clarifying! o) Will see if I can improve on that.
If that file helps to reproduce the problem, then that's wonderful! I always thought it was related to the font(s) I am using, but it's not a font issue then. Good to know, thank you for testing! o)