<ino>
Hi! :) in my foot terminal emulator the colors are very bright than usual (like the colors i used in alacritty in the past, i just copied them in foot). how can i fix this? and is it a normal behavior? thanks! :)
<ericonr>
ino: can you share a screenshot for that?
<ericonr>
colors between alacritty and foot are exactly the same for me
<ino>
hi ericonr! thanks for your reply. i didnt quite figure out yet how screenshoting on wayland works, so i have to dig a bit deeper into it! '=D
<ericonr>
what compositor are you using?
<ericonr>
WM has a useful grimshot wrapper around grim/slurp
<ericonr>
you can use that
<ino>
i am using river :)
<ericonr>
s/WM/sway/
<ericonr>
you can still use grimshot from sway
<ericonr>
but you can also just dump the entire screen with grim
<ericonr>
grim out.png
<ino>
thanks! i will definately try these tools now! also, i am using river. i promise its a really really cool compositor!
<ericonr>
I suppose it must be, for ifreund to be working on it so much ;)
<ino>
haha
<ino>
hi ericonr! here is it. i dont know if the difference is quite visible. https://imgur.com/ojt0Ttb
<ino>
(in the picture)
<ino>
right side is foot.
<ericonr>
yeah def visible
<ericonr>
but also no idea what it's about
<ericonr>
are you sure your configs are exactly the same?
<ericonr>
did you remember to configure brightN colors in foot too?
<ericonr>
otherwise if they are unset in both terminals, the algorithm to choose the bright variant could be different for each one
<ino>
ohh. thanks though for your time :) ohh! i really didnt do that. i am doing it now and will tell you what happens after!
<ino>
also your `grim` suggestion is marvellous. it has worked like charm! i will be sticking to it, so easy to use.
<ericonr>
:)
<ino>
:)))
<ino>
hi ericonr. sorry for pinging you again. would you like to share your `foot.ini` file? :) i think i am missing something in my config.
<lechner>
dnkl: i do not think that's the issue. i seem to have functioning cache
<lechner>
Arnavion: yes, lot's of them
<Arnavion>
And they all return fds instead of -1 ?
<sterni>
dnkl: I have > 9000 fonts in fc-list and never found foot to be slow to start up :p
<dnkl>
lechner: can you post the full strace somewhere?
<lechner>
sure, it's coming. I also lots of access to ~/.local/share/fonts/
<Arnavion>
I only have ~10 of those
<Arnavion>
but that's presumably because it doesn't exist so they all fail with ENOENT
<lechner>
i did not know i had those
<dnkl>
Fwiw, when i strace foot, it doesn't actually load a single font, except my primary font. Everything else are just accesses to the cache, and the font *directories*
<dnkl>
lechner: I'll take a look at it soon. In the meantime, try running "sudo fc-cache -fs", and then try launching foot again
st3r4g has quit [Read error: Connection reset by peer]
st3r4g has joined #foot
st3r4g has quit [Client Quit]
<lechner>
dnkl: that command returned relatively quickly, and did not change foot's startup time noticably
<dnkl>
lechner: is the output from a "strace -fe file ..." run? If so, could you redo it with just "strace foot"?
<lechner>
dnkl: sure
<dnkl>
lechner: and also try running "fc-cache -f" as your regular user
<lechner>
dnkl: also, what are glyph fallbacks, please, and why does foot need be able to look them up for all fonts instead of just the one being used?
<dnkl>
lechner: when your font doesn't have a glyph, foot needs to find a font that does. FontConfig provides a list of fallback fonts to use (try "fc-match -s <font-name>"). Before actually loading one of those fallback fonts, foot check its charmap to see if the font has the glyph or not. This charmap is something that fontconfig provides, and should be one of the things that is cached.
st3r4g has joined #foot
<dnkl>
I'm guessing your cache is outdated, and that fontconfig is forced to actually load all fonts to be able to get the charmap data
<dnkl>
lechner: could also be that your fonts, and thus the cache, is in your user directory, on NFS. Might be slow to load that many fonts, even when properly cached.
<Arnavion>
Yes, they have fonts in ~/.local/share/fonts and in ~/.fonts
<Arnavion>
They're also not the same sets, so it's not even that one is a symlink to the other
<Arnavion>
Why do you have so many fonts in your homedir?
<lechner>
Arnavion: you should see my garage!
<lechner>
but i should look into those non-links. i think i copied those fonts into ~/.fonts years ago