Hi Julien,

Julien PUYDT a écrit , Le 10/08/2010 21:41:
> I get many warnings like (trying to give an exhaustive list) :
> navit:displayitem_draw:failed to load icon '/usr/share/navit/xpm/foo.xpm'
> 
> where foo is in : parking, pharmacy, school, telephone, restaurant,
> shop_grocery, shop_apparel, museum, bar, information, mini_roundabout,
> cafe, hotel
> 
> and indeed, the /usr/share/xmp/ directory doesn't contain those
> images... but it does contain quite a few *png, *svg and *svgz, which
> can help complete the collection!
> 
> So that makes two problems with icons :
> - some don't appear in all formats navit wants them (using convert

Please check your ~/.navit/navit.xml file against the
/etc/navit/navit.xml provided by the navit package. For example, here is
the correct entry for the shop_grocery icon:

 <itemgra item_types="poi_shop_grocery" order="12-">
        <icon src="shop_grocery.png"/>
 </itemgra>

> $foo.png $foo.xpm on the list I gave above fixes the problem for all but
> shop_apparel... since no shop_apparel.* is available) ;

Indeed, this one is really missing. Forwarding to upstream.

> - why do non-xpm files end up in a directory named xpm? Shouldn't it be
> named 'images' or some such?

Good question ;) I guess that most of them were xpm files initially. A
more appropriate path could be /usr/share/navit/icons now. Forwarding to
upstream.

Thanks,

_g.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to