Ticket #976: unknown-svg.diff

File unknown-svg.diff, 4.4 KB (added by sleske, 9 years ago)

Patch to replace unknown.xpm with a SVG

  • navit/navit/xpm/Makefile.am

    commit 8f780dcd1c1fac0c93e633bcc3973662fe7de2d3
    Author: Sebastian Leske <Sebastian.Leske@sleske.name>
    Date:   Mon Dec 12 18:16:30 2011 +0100
    
        unknown.xpm -> SVG
    
    diff --git a/navit/navit/xpm/Makefile.am b/navit/navit/xpm/Makefile.am
    index 333a8fa..9beade4 100644
    a b xpm_DATA += theater.xpm 
    1818xpm_DATA += tower.xpm
    1919xpm_DATA += townhall.xpm
    2020xpm_DATA += trailerpark.xpm
    21 xpm_DATA += unknown.xpm
    2221xpm_DATA += public_office.xpm
    2322
    2423
    svgs += zoo.svg 
    155154svgs += heliport.svg
    156155svgs += wifi.svg
    157156svgs += viewpoint.svg
     157svgs += unknown.svg
    158158
    159159
    160160nav_svgs =  nav_left_1_bk.svg nav_left_1_wh.svg nav_left_2_bk.svg nav_left_2_wh.svg nav_left_3_bk.svg nav_left_3_wh.svg
  • new file navit/navit/xpm/unknown.svg

    diff --git a/navit/navit/xpm/unknown.svg b/navit/navit/xpm/unknown.svg
    new file mode 100644
    index 0000000..d91268f
    - +  
     1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
     2<!-- Created with Inkscape (http://www.inkscape.org/) -->
     3<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" version="1.2" width="332.4278" height="339.07635" id="svg3094">
     4  <defs id="defs3096"/>
     5  <metadata id="metadata3099">
     6    <rdf:RDF>
     7      <cc:Work rdf:about="">
     8        <dc:format>image/svg+xml</dc:format>
     9        <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
     10        <dc:title/>
     11      </cc:Work>
     12    </rdf:RDF>
     13  </metadata>
     14  <g transform="translate(-262.85715,-363.79074)" id="layer1">
     15    <rect width="332.4278" height="339.07635" x="262.85715" y="363.79074" id="rect3104" style="fill:#ffff00;fill-opacity:1;fill-rule:nonzero;stroke:none"/>
     16    <rect width="274.28571" height="280" x="291.42856" y="395.21933" id="rect3874" style="fill:#0000ff;fill-opacity:1;fill-rule:nonzero;stroke:none"/>
     17    <path d="m 354.12571,497.53789 c 0.20664,-13.43317 1.96331,-25.21316
     18    5.27,-35.34 3.5133,-10.12647 7.74996,-17.9798 12.71,-23.56
     19    5.16662,-5.78645 11.26328,-10.43645 18.29,-13.95 7.0266,-3.51311
     20    13.53659,-5.78644 19.53,-6.82 6.19991,-1.23977 12.70991,-1.85977
     21    19.53,-1.86 22.73321,2.3e-4 41.22986,6.61356 55.49,19.84
     22    14.4665,13.22686 21.69982,30.38018 21.7,51.46 -1.8e-4,13.02014
     23    -2.58351,23.7668 -7.75,32.24 -5.16683,8.47345 -14.98349,17.77344
     24    -29.45,27.9 -9.30013,6.61342 -15.08679,11.88342 -17.36,15.81
     25    -2.27345,3.92674 -3.41012,10.9534 -3.41,21.08 l -38.44,0 0,-4.34 c
     26    -8e-5,-10.33326 1.75658,-19.32325 5.27,-26.97 3.71991,-7.85323
     27    8.16324,-14.15656 13.33,-18.91 5.16656,-4.75322 10.33322,-9.19655
     28    15.5,-13.33 5.16655,-4.13321 9.50654,-8.88653 13.02,-14.26
     29    3.71987,-5.37319 5.57987,-11.46985 5.58,-18.29 -1.3e-4,-10.1265
     30    -3.10013,-18.59982 -9.3,-25.42 -6.20012,-6.81981 -13.95011,-10.22981
     31    -23.25,-10.23 -9.71342,1.9e-4 -17.87675,3.92685 -24.49,11.78
     32    -6.40674,7.85351 -9.61007,17.7735 -9.61,29.76 l 0,2.79 0,0.62
     33    -42.16,0" id="path3986"
     34    style="font-size:310px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#ffff00;fill-opacity:1;stroke:none;font-family:FreeSans;-inkscape-font-specification:FreeSans
     35    Bold"/>
     36    <path d="m 453.63571,601.38789 0,45.26 -46.5,0 0,-45.26 46.5,0"
     37    id="path3981"
     38    style="font-size:310px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#ffff00;fill-opacity:1;stroke:none;font-family:FreeSans;-inkscape-font-specification:FreeSans
     39    Bold"/>
     40  </g>
     41</svg>
  • deleted file navit/navit/xpm/unknown.xpm

    diff --git a/navit/navit/xpm/unknown.xpm b/navit/navit/xpm/unknown.xpm
    deleted file mode 100644
    index 150ee23..0000000
    + -  
    1 /* XPM */
    2 static char *noname[] = {
    3 /* width height ncolors chars_per_pixel */
    4 "13 14 3 1",
    5 /* colors */
    6 "  c #FFFF00",
    7 ". c blue",
    8 "X c None",
    9 /* pixels */
    10 "             ",
    11 " ........... ",
    12 " ...     ... ",
    13 " .. ..... .. ",
    14 " ........ .. ",
    15 " ........ .. ",
    16 " ......  ... ",
    17 " ..... ..... ",
    18 " ..... ..... ",
    19 " ........... ",
    20 " ..... ..... ",
    21 " ........... ",
    22 " ........... ",
    23 "             "
    24 };