Opened 12 years ago

Closed 10 years ago

#651 closed defect/bug (fixed)

nav_destination_wh.svg missing in package

Reported by: thomas0782 Owned by: number6
Priority: major Milestone:
Component: port/wince Version: git master
Severity: Keywords: png osd svg gui icons
Cc:, nick@…


nav_destination_wh.svg and nav_destination_bk.svg, accessed during navigation, are missing in the current version (nightly build 3549) of cab and zip file.

Attachments (1)

Screenshot.png (82.3 KB) - added by number6 12 years ago.

Download all attachments as: .zip

Change History (9)

Changed 12 years ago by number6

comment:1 Changed 12 years ago by number6

  • Keywords png osd svg gui added
  • Owner set to number6
  • Status changed from new to assigned

Surely you mean .png for wince ports (implied from "cab")

I've gone back to R2920, I can't find .svg in the WinCE zip files.

nav_destination_wh.svg and nav_destination_bk.svg can be accessed as nav_destination_wh_32_32.png and nav_destination_wh_32_32.png. See attached screen shot.

comment:2 Changed 12 years ago by thomas0782

Logs says:

navit:displayitem_draw:failed to load icon '\Programme\navit/xpm/nav_destination_wh.svg

After adding the files manually, the message had been gone. The current config is:

icon_xs="48" icon_s="64" icon_l="64".

comment:3 Changed 12 years ago by thomas0782

  • Cc added

comment:4 follow-up: Changed 12 years ago by number6

  • Cc nick@… added
  • Component changed from port/wince to core


Is this issue resolved?


comment:5 in reply to: ↑ 4 Changed 12 years ago by thomas0782

Replying to


Is this issue resolved?


Hi Nick,

it's not resolved yet, but I'm not sure if including the svg in the setup is the solution. I had a more detailed look on the problem.

  1. The svg image usage is defined in the navit.xml <itemgra item_types="route_end" order="0-"> <icon src="nav_destination_wh.svg" w="32" h="32"/> </itemgra>
  1. The log shows: 41361.780548|graphics_win32:image_new:loading image '\Programme\navit/xpm/nav_destination_wh.svg' 41361.781497|navit:displayitem_draw:failed to load icon '\Programme\navit/xpm/nav_destination_wh.svg'
  1. I didn't find code like gui_internal:image_new_scaled which selects the correct graphic. graphics_win32:image_new (called by graphics:graphics_image_new_scaled_rotated) is only handling xpm and png. So even if the graphic is present, it cannot be shown.

comment:6 Changed 12 years ago by number6

  • Component changed from core to port/wince
  • Keywords icons added

Hi Thomas,

I'm fairly sure that WinCE does not support SVG natively. I've tried changing that line in navit.xml to use .png and the problem was resolved.

Can you try that and see if the problem resolves for you also.


comment:7 Changed 12 years ago by thomas0782

Hi N,

Yes, it does. Will there be a change to the deployed default navit.xml for WinCE?


comment:8 Changed 10 years ago by usul

  • Resolution set to fixed
  • Status changed from assigned to closed

the flag icon is now (SVN 5539) present in wince as PNG and working fine. So closed

Note: See TracTickets for help on using tickets.