forum for navit navigation tool
It is currently 06 Dec 2021, 01:28
View unanswered posts | View active topics

All times are UTC

Forum rules

Feel free to ask anything here related to the installation and configuration of Navit.

Some notes before your first post:

Please provide as much informations as possible:

Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Fix Bug #1222
PostPosted: 21 Oct 2015, 21:34 

Joined: 22 Aug 2014, 11:02
Posts: 12
Hi folks, I have added a comment to bug #1222, a suggestion as to how it can be fixed very easily. Please consider.

This bug makes a linux install fail, possibly dependent on what existing tools (such as SVG to PNG converters). Cmake uses strings to search for "width=" in the svg files to determine their width. The problem is that some SVG files use the string "width=" several times, referring to width of lines etc. Cmake uses the last one found. In several cases cmake makes silly large PNG, in othes it fails to make anything. And the install will fail.

Easy solution is to use the first occurrence which is always the drawing width, just add "LIMIT_COUNT 1" to line 22. See the bug report.

This is an easier solution that changing the regex as suggested by tobe deprez who first identified the bug over a year ago.


Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Silver Orange 2.0.6 for IPB Designed by Skins and Hosting
Converted for phpBB3, based on Royal Blue template by BigB © 2007 2008 AEON KINGS