Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107446 - media-gfx/feh-1.3.4 does not load the fonts for the menus correctly
Summary: media-gfx/feh-1.3.4 does not load the fonts for the menus correctly
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-27 13:44 UTC by Tres 'RiverRat' Melton
Modified: 2005-09-27 17:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ...