derf / feh

a fast and light image viewer
https://feh.finalrewind.org
Other
1.53k stars 159 forks source link

missing yudit font (dependency documentation needed) #717

Closed Tcll closed 1 year ago

Tcll commented 1 year ago
feh WARNING: couldn't load font yudit/10, attempting to fall back to fixed.
feh WARNING: failed to even load fixed! Attempting to find any font.
feh ERROR: couldn't load menu font yudit/10, did you make install?

please add documentation for where users can obtain the yudit font if it should be missing like my case

derf commented 1 year ago

Hi!

The yudit font is shipped and installed with feh, so there is nothing to document.

If you built feh from source, you likely missed something during make install

If you installed feh using a package manager, the packager may have made a mistake.

At the moment, I don't see anything I can do about that, though I might be wrong. Feel free to re-open the issue if you have additional questions.

Tcll commented 1 year ago

I can't build from source

what I did was download the arch package and build an appimage

though I don't understand how the font isn't being detected from it's relative root if it's included

Tcll commented 1 year ago

I just checked the appimage, and /usr/share/fonts/ is not included in the arch package

not sure where the problem is there but I guess Arch packaged it wrong :P

Tcll commented 1 year ago

looks like there does seem to be an issue with feh after all

I'm not sure how programs detect the reletive location of / in appimages but feh doesn't seem to do that when searching for it's font and instead complains it can't find it in the global system location

that is actually a flaw with feh (unless you've made it optional to auto-detect or strictly use global, which then the fault is on Arch) however you've at least provided a workaround with -C so I've managed to make it work in the appimage launcher command with that :)