Changes between Version 67 and Version 69 of DevelopersGuide/DefaultPresets


Ignore:
Timestamp:
(multiple changes)
Author:
(multiple changes)
Comment:
(multiple changes)

Legend:

Unmodified
Added
Removed
Modified
  • DevelopersGuide/DefaultPresets

    v67 v69  
    2626
    2727== New Icons ==
    28 * The file format must be **svg** for lossless scaling. (Technically png is supported too but all preset icons are svg since August 2016.)
     28* The file format must be **SVG** for lossless scaling. (Technically png is supported too but all preset icons are svg since August 2016.)
    2929* The icon must be **identifiable at a size of 16 pixels**. This is the default size the icons are displayed in the [wikitr:/Help/MapView Map View] on standard dpi (not hidpi) screens.
    3030* The **license** needs to be compatible with GPL3 (like PD or CC0). A good source for Icons is [https://openclipart.org openclipart.org] (all icons there are PD), [https://publicdomainvectors.org/ publicdomainvectors.org] (all icons CC0), [https://freesvg.org/ freesvg.org] (all icons CC0) or [http://osm-icons.org/wiki/Icons osm-icons.org] (a lot are CC0). You can also check if JOSM already has a fitting unused icon in one of its icon folders: [source:josm/trunk/resources/images used icons] and [source:josm/trunk/nodist/images unused icons].
    … …  
    4949* Not all features of CSS styles (`<style type="text/css">`) are supported.
    5050* If possible don't use text elements at all as this can lead to different display results based on e.g. OS or installed fonts. To avoid this you can transform text into paths in the SVG.
    51 * JSVG may throw exceptions when processing broken or invalid SVG files. These images are broken, but may be displayed in other programs nevertheless. Unsupported features may be ignored or may also cause exceptions.
     51* The library JSVG may throw exceptions when processing broken or invalid SVG files. These images are broken, but may be displayed in other programs nevertheless. Unsupported features may be ignored or may also cause exceptions.
    5252* Some of the named problems can be detected by executing this [source:/josm/trunk/scripts/geticons.pl script].
    5353