Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 107446

Summary: media-gfx/feh-1.3.4 does not load the fonts for the menus correctly
Product: Gentoo Linux Reporter: Tres 'RiverRat' Melton <RiverRat>
Component: Current packagesAssignee: SpanKY <vapier>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tres 'RiverRat' Melton 2005-09-27 13:44:31 UTC
feh --menu-font /usr/share/feh/fonts/yudit.ttf picture.jpg

Will not display a menu on right click (or any other click).

ls -l /usr/share/feh/fonts/yudit.ttf
-rw-r--r--  1 root root 57708 Sep 27 04:37 /usr/share/feh/fonts/yudit.ttf
so it gets installed.

giblib warning: couldn't load font /usr/share/feh/fonts/yudit.ttf, attempting to
fall back to fixed.
giblib warning: failed to even load fixed! Attempting to find any font.
feh ERROR: couldn't load menu font /usr/share/feh/fonts/yudit.ttf, did you make
install?
Are you specifying a nonexistant font?
Did you tell feh where to find it with --fontpath?

feh --menu-font /usr/share/feh/fonts/yudit.ttf --fontpath \                    
     /usr/share/feh/fonts/yudit.ttf  picture.jpg

Fails too.  This has been present in all the versions I've used on Gentoo since
at least 1.3.1.
Comment 1 SpanKY gentoo-dev 2005-09-27 17:05:12 UTC
you're using it wrong

feh --menu-font yudit/20 picture.jpg

FONT should  be  a truetype font, resident in the current directory, or in feh's
font directory, and should be defined in the  form  fontname/size(points). (No
extension). eg. --font myfont/12
Comment 2 SpanKY gentoo-dev 2005-09-27 17:06:00 UTC
since feh uses giblib which uses imlib2 to load fonts, maybe we should bug
raster into auto-selecting a fontsize if none specified ... or maybe imlib2
offers this feature already and giblib doesnt utilize it ...