Opened 12 years ago

Closed 12 years ago

#590 closed defect/bug (duplicate)

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

Reported by: Owned by:
Priority: minor Milestone:
Component: port/wince Version: git master
Severity: Keywords:

Description 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 item_types="nav_left_2" order="0-">
  <icon src="nav_left_2_bk.svg" w="32" h="32"/>

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 12 years ago.

Download all attachments as: .zip

Change History (2)

Changed 12 years ago by

comment:1 Changed 12 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.