Opened 10 years ago

Closed 10 years ago

#590 closed defect/bug (duplicate)

Wince zip file inconsistent: navit.xml points to *.svg, but *.png only included

Reported by: hyperentang.wordpress.com Owned by:
Priority: minor Milestone:
Component: port/wince Version: git master
Severity: Keywords:
Cc:

Description

http://download.navit-project.org/navit/wince/svn/navit-svn-3349.zip includes navit.xml which has entries like

<itemgra item_types="nav_left_1" order="0-">
  <icon src="nav_left_1_bk.svg" w="32" h="32"/>
</itemgra>
<itemgra item_types="nav_left_2" order="0-">
  <icon src="nav_left_2_bk.svg" w="32" h="32"/>
</itemgra>

The files nav_left_1_bk.svg,... are not present, but rather (most) png equivalents are under xpm/.

As the host is a very limited & slow wince system, I suppose the png files are the right choice, so the navit.xml needs to be amended/generated accordingly.

Attachments (1)

navit.diff (5.3 KB) - added by hyperentang.wordpress.com 10 years ago.

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by hyperentang.wordpress.com

comment:1 Changed 10 years ago by gerritv

  • Resolution set to duplicate
  • Status changed from new to closed

The png's are created from svg's during the build. they are pre-sized for execution speed. See trac 284 for the code patch (applied) that rearranged the search order for icons types. Even though the navit.xml says it wants the .svg version, the code actually uses the presized png, e.g. one of the 32_32 ones that you manually configured. Trac 476 has related fixes to navit.xml to clean up configuration for icons that we listed as .xpm but in fact are .svg.

Note: See TracTickets for help on using tickets.