Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Add script that exports rentina versions of the maki icons. #33

Closed
wants to merge 7 commits into from

3 participants

@willwhite
Admin

This script exports two additional sizes 36x36 and 48x48 for use on retina displays. The renders are not committed to the main package for now.

scripts/build-retina.sh
((2 lines not shown))
+ echo "inkscape command is required."
+ echo "Mac OS X users add `/Applications/Inkscape.app/Contents/Resources/bin` to your PATH."
+ exit;
+fi
+
+for object in $(inkscape --without-gui -f src/maki-icons.svg --query-all |
+ sed '/^rect[0-9]*/d; /^path[0-9]*/d; /^g[0-9]/d; /^layer[0-9]*/d; /^svg[0-9]*/d; /^text[0-9]*/d; /^p-[0-9]*/d' |
+ sed 's/-[0-9].*//g' |
+ sort |
+ uniq)
+do
+ inkscape --without-gui -f src/maki-icons.svg --export-id=$object-12 -e=renders/$object-12.png -w 12 -h 12
+ inkscape --without-gui -f src/maki-icons.svg --export-id=$object-12 -e=renders/$object-18.png -w 18 -h 18
+ inkscape --without-gui -f src/maki-icons.svg --export-id=$object-12 -e=renders/$object-24.png -w 24 -h 24
+ inkscape --without-gui -f src/maki-icons.svg --export-id=$object-12 -e=renders/$object-36.png -w 36 -h 36
+ inkscape --without-gui -f src/maki-icons.svg --export-id=$object-12 -e=renders/$object-48.png -w 48 -h 48
@yhahn Admin
yhahn added a note

Hrm, wouldn't you want to use the higher sizes where possible, e.g.?

$object-12 => 12 12
$object-18 => 18 18
$object-24 => 24 24
$object-24 => 36 36 # this may be sharper with 18 => 36 36 as the hinting may be tighter with 2x scaling than 1.5
$object-24 => 48 48
@willwhite Admin

Oops copy and paste fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@ajashton
Admin

The new process for individual SVGs handles retina exports.

@ajashton ajashton closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 9, 2012
  1. Remove tickmarks.

    Will White authored
  2. Remove old IDs.

    Will White authored
  3. Use correct object sizes.

    Will White authored
Commits on Jan 28, 2013
  1. @yhahn
  2. @yhahn

    Add 36, 48 sizes.

    yhahn authored
  3. @yhahn

    Switching to @2x style.

    yhahn authored
This page is out of date. Refresh to see the latest.
Showing with 62 additions and 52 deletions.
  1. BIN  renders/airfield-12@2x.png
  2. BIN  renders/airfield-18@2x.png
  3. BIN  renders/airfield-24@2x.png
  4. BIN  renders/airport-12@2x.png
  5. BIN  renders/airport-18@2x.png
  6. BIN  renders/airport-24@2x.png
  7. BIN  renders/america-football-12@2x.png
  8. BIN  renders/america-football-18@2x.png
  9. BIN  renders/america-football-24@2x.png
  10. BIN  renders/art-gallery-12@2x.png
  11. BIN  renders/art-gallery-18@2x.png
  12. BIN  renders/art-gallery-24@2x.png
  13. BIN  renders/bank-12@2x.png
  14. BIN  renders/bank-18@2x.png
  15. BIN  renders/bank-24@2x.png
  16. BIN  renders/bar-12@2x.png
  17. BIN  renders/bar-18@2x.png
  18. BIN  renders/bar-24@2x.png
  19. BIN  renders/baseball-12@2x.png
  20. BIN  renders/baseball-18@2x.png
  21. BIN  renders/baseball-24@2x.png
  22. BIN  renders/basketball-12@2x.png
  23. BIN  renders/basketball-18@2x.png
  24. BIN  renders/basketball-24@2x.png
  25. BIN  renders/beer-12@2x.png
  26. BIN  renders/beer-18@2x.png
  27. BIN  renders/beer-24@2x.png
  28. BIN  renders/bicycle-12.png
  29. BIN  renders/bicycle-12@2x.png
  30. BIN  renders/bicycle-18@2x.png
  31. BIN  renders/bicycle-24@2x.png
  32. BIN  renders/bus-12@2x.png
  33. BIN  renders/bus-18@2x.png
  34. BIN  renders/bus-24@2x.png
  35. BIN  renders/cafe-12@2x.png
  36. BIN  renders/cafe-18.png
  37. BIN  renders/cafe-18@2x.png
  38. BIN  renders/cafe-24.png
  39. BIN  renders/cafe-24@2x.png
  40. BIN  renders/campsite-12@2x.png
  41. BIN  renders/campsite-18@2x.png
  42. BIN  renders/campsite-24@2x.png
  43. BIN  renders/cemetery-12@2x.png
  44. BIN  renders/cemetery-18@2x.png
  45. BIN  renders/cemetery-24@2x.png
  46. BIN  renders/cinema-12@2x.png
  47. BIN  renders/cinema-18@2x.png
  48. BIN  renders/cinema-24@2x.png
  49. BIN  renders/circle-12@2x.png
  50. BIN  renders/circle-18@2x.png
  51. BIN  renders/circle-24@2x.png
  52. BIN  renders/circle-stroked-12@2x.png
  53. BIN  renders/circle-stroked-18@2x.png
  54. BIN  renders/circle-stroked-24@2x.png
  55. BIN  renders/college-12@2x.png
  56. BIN  renders/college-18@2x.png
  57. BIN  renders/college-24@2x.png
  58. BIN  renders/commercial-12@2x.png
  59. BIN  renders/commercial-18@2x.png
  60. BIN  renders/commercial-24@2x.png
  61. BIN  renders/cricket-12@2x.png
  62. BIN  renders/cricket-18@2x.png
  63. BIN  renders/cricket-24@2x.png
  64. BIN  renders/cross-12.png
  65. BIN  renders/cross-12@2x.png
  66. BIN  renders/cross-18.png
  67. BIN  renders/cross-18@2x.png
  68. BIN  renders/cross-24.png
  69. BIN  renders/cross-24@2x.png
  70. BIN  renders/embassy-12@2x.png
  71. BIN  renders/embassy-18@2x.png
  72. BIN  renders/embassy-24@2x.png
  73. BIN  renders/fast-food-12@2x.png
  74. BIN  renders/fast-food-18@2x.png
  75. BIN  renders/fast-food-24@2x.png
  76. BIN  renders/ferry-12@2x.png
  77. BIN  renders/ferry-18.png
  78. BIN  renders/ferry-18@2x.png
  79. BIN  renders/ferry-24@2x.png
  80. BIN  renders/fire-station-12@2x.png
  81. BIN  renders/fire-station-18@2x.png
  82. BIN  renders/fire-station-24@2x.png
  83. BIN  renders/fuel-12@2x.png
  84. BIN  renders/fuel-18@2x.png
  85. BIN  renders/fuel-24@2x.png
  86. BIN  renders/garden-12@2x.png
  87. BIN  renders/garden-18@2x.png
  88. BIN  renders/garden-24@2x.png
  89. BIN  renders/golf-12@2x.png
  90. BIN  renders/golf-18@2x.png
  91. BIN  renders/golf-24@2x.png
  92. BIN  renders/grocery-12@2x.png
  93. BIN  renders/grocery-18@2x.png
  94. BIN  renders/grocery-24@2x.png
  95. BIN  renders/harbor-12@2x.png
  96. BIN  renders/harbor-18@2x.png
  97. BIN  renders/harbor-24@2x.png
  98. BIN  renders/heliport-12@2x.png
  99. BIN  renders/heliport-18@2x.png
  100. BIN  renders/heliport-24@2x.png
  101. BIN  renders/hospital-12@2x.png
  102. BIN  renders/hospital-18@2x.png
  103. BIN  renders/hospital-24@2x.png
  104. BIN  renders/industrial-12@2x.png
  105. BIN  renders/industrial-18@2x.png
  106. BIN  renders/industrial-24@2x.png
  107. BIN  renders/library-12@2x.png
  108. BIN  renders/library-18@2x.png
  109. BIN  renders/library-24@2x.png
  110. BIN  renders/lodging-12@2x.png
  111. BIN  renders/lodging-18@2x.png
  112. BIN  renders/lodging-24@2x.png
  113. BIN  renders/london-underground-12@2x.png
  114. BIN  renders/london-underground-18@2x.png
  115. BIN  renders/london-underground-24@2x.png
  116. BIN  renders/marker-12@2x.png
  117. BIN  renders/marker-18@2x.png
  118. BIN  renders/marker-24.png
  119. BIN  renders/marker-24@2x.png
  120. BIN  renders/marker-stroked-12@2x.png
  121. BIN  renders/marker-stroked-18@2x.png
  122. BIN  renders/marker-stroked-24@2x.png
  123. BIN  renders/minefield-12.png
  124. BIN  renders/minefield-12@2x.png
  125. BIN  renders/minefield-18.png
  126. BIN  renders/minefield-18@2x.png
  127. BIN  renders/minefield-24.png
  128. BIN  renders/minefield-24@2x.png
  129. BIN  renders/monument-12@2x.png
  130. BIN  renders/monument-18@2x.png
  131. BIN  renders/monument-24@2x.png
  132. BIN  renders/museum-12@2x.png
  133. BIN  renders/museum-18@2x.png
  134. BIN  renders/museum-24@2x.png
  135. BIN  renders/park-12@2x.png
  136. BIN  renders/park-18@2x.png
  137. BIN  renders/park-24@2x.png
  138. BIN  renders/park2-12.png
  139. BIN  renders/park2-12@2x.png
  140. BIN  renders/park2-18@2x.png
  141. BIN  renders/park2-24@2x.png
  142. BIN  renders/parking-12@2x.png
  143. BIN  renders/parking-18@2x.png
  144. BIN  renders/parking-24@2x.png
  145. BIN  renders/parking-garage-12@2x.png
  146. BIN  renders/parking-garage-18@2x.png
  147. BIN  renders/parking-garage-24@2x.png
  148. BIN  renders/pharmacy-12@2x.png
  149. BIN  renders/pharmacy-18@2x.png
  150. BIN  renders/pharmacy-24@2x.png
  151. BIN  renders/pitch-12@2x.png
  152. BIN  renders/pitch-18@2x.png
  153. BIN  renders/pitch-24@2x.png
  154. BIN  renders/police-12@2x.png
  155. BIN  renders/police-18@2x.png
  156. BIN  renders/police-24@2x.png
  157. BIN  renders/post-12@2x.png
  158. BIN  renders/post-18@2x.png
  159. BIN  renders/post-24@2x.png
  160. BIN  renders/prison-12@2x.png
  161. BIN  renders/prison-18@2x.png
  162. BIN  renders/prison-24@2x.png
  163. BIN  renders/rail-12@2x.png
  164. BIN  renders/rail-18@2x.png
  165. BIN  renders/rail-24.png
  166. BIN  renders/rail-24@2x.png
  167. BIN  renders/rail-above-12@2x.png
  168. BIN  renders/rail-above-18@2x.png
  169. BIN  renders/rail-above-24@2x.png
  170. BIN  renders/rail-underground-12@2x.png
  171. BIN  renders/rail-underground-18@2x.png
  172. BIN  renders/rail-underground-24@2x.png
  173. BIN  renders/religious-christian-12@2x.png
  174. BIN  renders/religious-christian-18@2x.png
  175. BIN  renders/religious-christian-24@2x.png
  176. BIN  renders/religious-jewish-12@2x.png
  177. BIN  renders/religious-jewish-18@2x.png
  178. BIN  renders/religious-jewish-24@2x.png
  179. BIN  renders/religious-muslim-12@2x.png
  180. BIN  renders/religious-muslim-18@2x.png
  181. BIN  renders/religious-muslim-24@2x.png
  182. BIN  renders/restaurant-12@2x.png
  183. BIN  renders/restaurant-18@2x.png
  184. BIN  renders/restaurant-24@2x.png
  185. BIN  renders/roadblock-12@2x.png
  186. BIN  renders/roadblock-18@2x.png
  187. BIN  renders/roadblock-24@2x.png
  188. BIN  renders/school-12@2x.png
  189. BIN  renders/school-18@2x.png
  190. BIN  renders/school-24@2x.png
  191. BIN  renders/shop-12@2x.png
  192. BIN  renders/shop-18@2x.png
  193. BIN  renders/shop-24@2x.png
  194. BIN  renders/skiing-12@2x.png
  195. BIN  renders/skiing-18@2x.png
  196. BIN  renders/skiing-24@2x.png
  197. BIN  renders/soccer-12@2x.png
  198. BIN  renders/soccer-18@2x.png
  199. BIN  renders/soccer-24@2x.png
  200. BIN  renders/square-12@2x.png
  201. BIN  renders/square-18@2x.png
  202. BIN  renders/square-24@2x.png
  203. BIN  renders/square-stroked-12@2x.png
  204. BIN  renders/square-stroked-18@2x.png
  205. BIN  renders/square-stroked-24@2x.png
  206. BIN  renders/star-12@2x.png
  207. BIN  renders/star-18@2x.png
  208. BIN  renders/star-24@2x.png
  209. BIN  renders/star-stroked-12@2x.png
  210. BIN  renders/star-stroked-18@2x.png
  211. BIN  renders/star-stroked-24@2x.png
  212. BIN  renders/swimming-12@2x.png
  213. BIN  renders/swimming-18@2x.png
  214. BIN  renders/swimming-24@2x.png
  215. BIN  renders/tennis-12@2x.png
  216. BIN  renders/tennis-18@2x.png
  217. BIN  renders/tennis-24@2x.png
  218. BIN  renders/theatre-12@2x.png
  219. BIN  renders/theatre-18@2x.png
  220. BIN  renders/theatre-24@2x.png
  221. BIN  renders/toilets-12@2x.png
  222. BIN  renders/toilets-18@2x.png
  223. BIN  renders/toilets-24@2x.png
  224. BIN  renders/town-hall-12@2x.png
  225. BIN  renders/town-hall-18@2x.png
  226. BIN  renders/town-hall-24@2x.png
  227. BIN  renders/triangle-12@2x.png
  228. BIN  renders/triangle-18@2x.png
  229. BIN  renders/triangle-24@2x.png
  230. BIN  renders/triangle-stroked-12@2x.png
  231. BIN  renders/triangle-stroked-18@2x.png
  232. BIN  renders/triangle-stroked-24@2x.png
  233. BIN  renders/warehouse-12@2x.png
  234. BIN  renders/warehouse-18@2x.png
  235. BIN  renders/warehouse-24@2x.png
  236. BIN  renders/waste-basket-12@2x.png
  237. BIN  renders/waste-basket-18@2x.png
  238. BIN  renders/waste-basket-24@2x.png
  239. BIN  renders/zoo-12@2x.png
  240. BIN  renders/zoo-18@2x.png
  241. BIN  renders/zoo-24@2x.png
  242. +23 −0 scripts/build-retina.sh
  243. +39 −52 src/maki-icons.svg
View
BIN  renders/airfield-12@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  renders/airfield-18@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  renders/airfield-24@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  renders/airport-12@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  renders/airport-18@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  renders/airport-24@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  renders/america-football-12@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  renders/america-football-18@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  renders/america-football-24@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  renders/art-gallery-12@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  renders/art-gallery-18@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  renders/art-gallery-24@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  renders/bank-12@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  renders/bank-18@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  renders/bank-24@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  renders/bar-12@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  renders/bar-18@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  renders/bar-24@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  renders/baseball-12@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  renders/baseball-18@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  renders/baseball-24@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  renders/basketball-12@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  renders/basketball-18@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  renders/basketball-24@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  renders/beer-12@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  renders/beer-18@2x.png
Diff not rendered
View
BIN  renders/beer-24@2x.png
Diff not rendered
View
BIN  renders/bicycle-12.png
Diff not rendered
View
BIN  renders/bicycle-12@2x.png
Diff not rendered
View
BIN  renders/bicycle-18@2x.png
Diff not rendered
View
BIN  renders/bicycle-24@2x.png
Diff not rendered
View
BIN  renders/bus-12@2x.png
Diff not rendered
View
BIN  renders/bus-18@2x.png
Diff not rendered
View
BIN  renders/bus-24@2x.png
Diff not rendered
View
BIN  renders/cafe-12@2x.png
Diff not rendered
View
BIN  renders/cafe-18.png
Diff not rendered
View
BIN  renders/cafe-18@2x.png
Diff not rendered
View
BIN  renders/cafe-24.png
Diff not rendered
View
BIN  renders/cafe-24@2x.png
Diff not rendered
View
BIN  renders/campsite-12@2x.png
Diff not rendered
View
BIN  renders/campsite-18@2x.png
Diff not rendered
View
BIN  renders/campsite-24@2x.png
Diff not rendered
View
BIN  renders/cemetery-12@2x.png
Diff not rendered
View
BIN  renders/cemetery-18@2x.png
Diff not rendered
View
BIN  renders/cemetery-24@2x.png
Diff not rendered
View
BIN  renders/cinema-12@2x.png
Diff not rendered
View
BIN  renders/cinema-18@2x.png
Diff not rendered
View
BIN  renders/cinema-24@2x.png
Diff not rendered
View
BIN  renders/circle-12@2x.png
Diff not rendered
View
BIN  renders/circle-18@2x.png
Diff not rendered
View
BIN  renders/circle-24@2x.png
Diff not rendered
View
BIN  renders/circle-stroked-12@2x.png
Diff not rendered
View
BIN  renders/circle-stroked-18@2x.png
Diff not rendered
View
BIN  renders/circle-stroked-24@2x.png
Diff not rendered
View
BIN  renders/college-12@2x.png
Diff not rendered
View
BIN  renders/college-18@2x.png
Diff not rendered
View
BIN  renders/college-24@2x.png
Diff not rendered
View
BIN  renders/commercial-12@2x.png
Diff not rendered
View
BIN  renders/commercial-18@2x.png
Diff not rendered
View
BIN  renders/commercial-24@2x.png
Diff not rendered
View
BIN  renders/cricket-12@2x.png
Diff not rendered
View
BIN  renders/cricket-18@2x.png
Diff not rendered
View
BIN  renders/cricket-24@2x.png
Diff not rendered
View
BIN  renders/cross-12.png
Diff not rendered
View
BIN  renders/cross-12@2x.png
Diff not rendered
View
BIN  renders/cross-18.png
Diff not rendered
View
BIN  renders/cross-18@2x.png
Diff not rendered
View
BIN  renders/cross-24.png
Diff not rendered
View
BIN  renders/cross-24@2x.png
Diff not rendered
View
BIN  renders/embassy-12@2x.png
Diff not rendered
View
BIN  renders/embassy-18@2x.png
Diff not rendered
View
BIN  renders/embassy-24@2x.png
Diff not rendered
View
BIN  renders/fast-food-12@2x.png
Diff not rendered
View
BIN  renders/fast-food-18@2x.png
Diff not rendered
View
BIN  renders/fast-food-24@2x.png
Diff not rendered
View
BIN  renders/ferry-12@2x.png
Diff not rendered
View
BIN  renders/ferry-18.png
Diff not rendered
View
BIN  renders/ferry-18@2x.png
Diff not rendered
View
BIN  renders/ferry-24@2x.png
Diff not rendered
View
BIN  renders/fire-station-12@2x.png
Diff not rendered
View
BIN  renders/fire-station-18@2x.png
Diff not rendered
View
BIN  renders/fire-station-24@2x.png
Diff not rendered
View
BIN  renders/fuel-12@2x.png
Diff not rendered
View
BIN  renders/fuel-18@2x.png
Diff not rendered
View
BIN  renders/fuel-24@2x.png
Diff not rendered
View
BIN  renders/garden-12@2x.png
Diff not rendered
View
BIN  renders/garden-18@2x.png
Diff not rendered
View
BIN  renders/garden-24@2x.png
Diff not rendered
View
BIN  renders/golf-12@2x.png
Diff not rendered
View
BIN  renders/golf-18@2x.png
Diff not rendered
View
BIN  renders/golf-24@2x.png
Diff not rendered
View
BIN  renders/grocery-12@2x.png
Diff not rendered
View
BIN  renders/grocery-18@2x.png
Diff not rendered
View
BIN  renders/grocery-24@2x.png
Diff not rendered
View
BIN  renders/harbor-12@2x.png
Diff not rendered
View
BIN  renders/harbor-18@2x.png
Diff not rendered
View
BIN  renders/harbor-24@2x.png
Diff not rendered
View
BIN  renders/heliport-12@2x.png
Diff not rendered
View
BIN  renders/heliport-18@2x.png
Diff not rendered
View
BIN  renders/heliport-24@2x.png
Diff not rendered
View
BIN  renders/hospital-12@2x.png
Diff not rendered
View
BIN  renders/hospital-18@2x.png
Diff not rendered
View
BIN  renders/hospital-24@2x.png
Diff not rendered
View
BIN  renders/industrial-12@2x.png
Diff not rendered
View
BIN  renders/industrial-18@2x.png
Diff not rendered
View
BIN  renders/industrial-24@2x.png
Diff not rendered
View
BIN  renders/library-12@2x.png
Diff not rendered
View
BIN  renders/library-18@2x.png
Diff not rendered
View
BIN  renders/library-24@2x.png
Diff not rendered
View
BIN  renders/lodging-12@2x.png
Diff not rendered
View
BIN  renders/lodging-18@2x.png
Diff not rendered
View
BIN  renders/lodging-24@2x.png
Diff not rendered
View
BIN  renders/london-underground-12@2x.png
Diff not rendered
View
BIN  renders/london-underground-18@2x.png
Diff not rendered
View
BIN  renders/london-underground-24@2x.png
Diff not rendered
View
BIN  renders/marker-12@2x.png
Diff not rendered
View
BIN  renders/marker-18@2x.png
Diff not rendered
View
BIN  renders/marker-24.png
Diff not rendered
View
BIN  renders/marker-24@2x.png
Diff not rendered
View
BIN  renders/marker-stroked-12@2x.png
Diff not rendered
View
BIN  renders/marker-stroked-18@2x.png
Diff not rendered
View
BIN  renders/marker-stroked-24@2x.png
Diff not rendered
View
BIN  renders/minefield-12.png
Diff not rendered
View
BIN  renders/minefield-12@2x.png
Diff not rendered
View
BIN  renders/minefield-18.png
Diff not rendered
View
BIN  renders/minefield-18@2x.png
Diff not rendered
View
BIN  renders/minefield-24.png
Diff not rendered
View
BIN  renders/minefield-24@2x.png
Diff not rendered
View
BIN  renders/monument-12@2x.png
Diff not rendered
View
BIN  renders/monument-18@2x.png
Diff not rendered
View
BIN  renders/monument-24@2x.png
Diff not rendered
View
BIN  renders/museum-12@2x.png
Diff not rendered
View
BIN  renders/museum-18@2x.png
Diff not rendered
View
BIN  renders/museum-24@2x.png
Diff not rendered
View
BIN  renders/park-12@2x.png
Diff not rendered
View
BIN  renders/park-18@2x.png
Diff not rendered
View
BIN  renders/park-24@2x.png
Diff not rendered
View
BIN  renders/park2-12.png
Diff not rendered
View
BIN  renders/park2-12@2x.png
Diff not rendered
View
BIN  renders/park2-18@2x.png
Diff not rendered
View
BIN  renders/park2-24@2x.png
Diff not rendered
View
BIN  renders/parking-12@2x.png
Diff not rendered
View
BIN  renders/parking-18@2x.png
Diff not rendered
View
BIN  renders/parking-24@2x.png
Diff not rendered
View
BIN  renders/parking-garage-12@2x.png
Diff not rendered
View
BIN  renders/parking-garage-18@2x.png
Diff not rendered
View
BIN  renders/parking-garage-24@2x.png
Diff not rendered
View
BIN  renders/pharmacy-12@2x.png
Diff not rendered
View
BIN  renders/pharmacy-18@2x.png
Diff not rendered
View
BIN  renders/pharmacy-24@2x.png
Diff not rendered
View
BIN  renders/pitch-12@2x.png
Diff not rendered
View
BIN  renders/pitch-18@2x.png
Diff not rendered
View
BIN  renders/pitch-24@2x.png
Diff not rendered
View
BIN  renders/police-12@2x.png
Diff not rendered
View
BIN  renders/police-18@2x.png
Diff not rendered
View
BIN  renders/police-24@2x.png
Diff not rendered
View
BIN  renders/post-12@2x.png
Diff not rendered
View
BIN  renders/post-18@2x.png
Diff not rendered
View
BIN  renders/post-24@2x.png
Diff not rendered
View
BIN  renders/prison-12@2x.png
Diff not rendered
View
BIN  renders/prison-18@2x.png
Diff not rendered
View
BIN  renders/prison-24@2x.png
Diff not rendered
View
BIN  renders/rail-12@2x.png
Diff not rendered
View
BIN  renders/rail-18@2x.png
Diff not rendered
View
BIN  renders/rail-24.png
Diff not rendered
View
BIN  renders/rail-24@2x.png
Diff not rendered
View
BIN  renders/rail-above-12@2x.png
Diff not rendered
View
BIN  renders/rail-above-18@2x.png
Diff not rendered
View
BIN  renders/rail-above-24@2x.png
Diff not rendered
View
BIN  renders/rail-underground-12@2x.png
Diff not rendered
View
BIN  renders/rail-underground-18@2x.png
Diff not rendered
View
BIN  renders/rail-underground-24@2x.png
Diff not rendered
View
BIN  renders/religious-christian-12@2x.png
Diff not rendered
View
BIN  renders/religious-christian-18@2x.png
Diff not rendered
View
BIN  renders/religious-christian-24@2x.png
Diff not rendered
View
BIN  renders/religious-jewish-12@2x.png
Diff not rendered
View
BIN  renders/religious-jewish-18@2x.png
Diff not rendered
View
BIN  renders/religious-jewish-24@2x.png
Diff not rendered
View
BIN  renders/religious-muslim-12@2x.png
Diff not rendered
View
BIN  renders/religious-muslim-18@2x.png
Diff not rendered
View
BIN  renders/religious-muslim-24@2x.png
Diff not rendered
View
BIN  renders/restaurant-12@2x.png
Diff not rendered
View
BIN  renders/restaurant-18@2x.png
Diff not rendered
View
BIN  renders/restaurant-24@2x.png
Diff not rendered
View
BIN  renders/roadblock-12@2x.png
Diff not rendered
View
BIN  renders/roadblock-18@2x.png
Diff not rendered
View
BIN  renders/roadblock-24@2x.png
Diff not rendered
View
BIN  renders/school-12@2x.png
Diff not rendered
View
BIN  renders/school-18@2x.png
Diff not rendered
View
BIN  renders/school-24@2x.png
Diff not rendered
View
BIN  renders/shop-12@2x.png
Diff not rendered
View
BIN  renders/shop-18@2x.png
Diff not rendered
View
BIN  renders/shop-24@2x.png
Diff not rendered
View
BIN  renders/skiing-12@2x.png
Diff not rendered
View
BIN  renders/skiing-18@2x.png
Diff not rendered
View
BIN  renders/skiing-24@2x.png
Diff not rendered
View
BIN  renders/soccer-12@2x.png
Diff not rendered
View
BIN  renders/soccer-18@2x.png
Diff not rendered
View
BIN  renders/soccer-24@2x.png
Diff not rendered
View
BIN  renders/square-12@2x.png
Diff not rendered
View
BIN  renders/square-18@2x.png
Diff not rendered
View
BIN  renders/square-24@2x.png
Diff not rendered
View
BIN  renders/square-stroked-12@2x.png
Diff not rendered
View
BIN  renders/square-stroked-18@2x.png
Diff not rendered
View
BIN  renders/square-stroked-24@2x.png
Diff not rendered
View
BIN  renders/star-12@2x.png
Diff not rendered
View
BIN  renders/star-18@2x.png
Diff not rendered
View
BIN  renders/star-24@2x.png
Diff not rendered
View
BIN  renders/star-stroked-12@2x.png
Diff not rendered
View
BIN  renders/star-stroked-18@2x.png
Diff not rendered
View
BIN  renders/star-stroked-24@2x.png
Diff not rendered
View
BIN  renders/swimming-12@2x.png
Diff not rendered
View
BIN  renders/swimming-18@2x.png
Diff not rendered
View
BIN  renders/swimming-24@2x.png
Diff not rendered
View
BIN  renders/tennis-12@2x.png
Diff not rendered
View
BIN  renders/tennis-18@2x.png
Diff not rendered
View
BIN  renders/tennis-24@2x.png
Diff not rendered
View
BIN  renders/theatre-12@2x.png
Diff not rendered
View
BIN  renders/theatre-18@2x.png
Diff not rendered
View
BIN  renders/theatre-24@2x.png
Diff not rendered
View
BIN  renders/toilets-12@2x.png
Diff not rendered
View
BIN  renders/toilets-18@2x.png
Diff not rendered
View
BIN  renders/toilets-24@2x.png
Diff not rendered
View
BIN  renders/town-hall-12@2x.png
Diff not rendered
View
BIN  renders/town-hall-18@2x.png
Diff not rendered
View
BIN  renders/town-hall-24@2x.png
Diff not rendered
View
BIN  renders/triangle-12@2x.png
Diff not rendered
View
BIN  renders/triangle-18@2x.png
Diff not rendered
View
BIN  renders/triangle-24@2x.png
Diff not rendered
View
BIN  renders/triangle-stroked-12@2x.png
Diff not rendered
View
BIN  renders/triangle-stroked-18@2x.png
Diff not rendered
View
BIN  renders/triangle-stroked-24@2x.png
Diff not rendered
View
BIN  renders/warehouse-12@2x.png
Diff not rendered
View
BIN  renders/warehouse-18@2x.png
Diff not rendered
View
BIN  renders/warehouse-24@2x.png
Diff not rendered
View
BIN  renders/waste-basket-12@2x.png
Diff not rendered
View
BIN  renders/waste-basket-18@2x.png
Diff not rendered
View
BIN  renders/waste-basket-24@2x.png
Diff not rendered
View
BIN  renders/zoo-12@2x.png
Diff not rendered
View
BIN  renders/zoo-18@2x.png
Diff not rendered
View
BIN  renders/zoo-24@2x.png
Diff not rendered
View
23 scripts/build-retina.sh
@@ -0,0 +1,23 @@
+
+DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+echo $DIR
+
+if [ -z `which inkscape` ]; then
+ echo "inkscape command is required."
+ echo "Mac OS X users add /Applications/Inkscape.app/Contents/Resources/bin to your PATH."
+ exit;
+fi
+
+for object in $(inkscape --without-gui -f $DIR/../src/maki-icons.svg --query-all |
+ sed '/^rect[0-9]*/d; /^path[0-9]*/d; /^g[0-9]/d; /^layer[0-9]*/d; /^svg[0-9]*/d; /^text[0-9]*/d; /^p-[0-9]*/d' |
+ sed 's/-[0-9].*//g' |
+ sort |
+ uniq)
+do
+ inkscape --without-gui -f $DIR/../src/maki-icons.svg --export-id=$object-12 -e=$DIR/../renders/$object-12.png -w 12 -h 12
+ inkscape --without-gui -f $DIR/../src/maki-icons.svg --export-id=$object-18 -e=$DIR/../renders/$object-18.png -w 18 -h 18
+ inkscape --without-gui -f $DIR/../src/maki-icons.svg --export-id=$object-24 -e=$DIR/../renders/$object-24.png -w 24 -h 24
+ inkscape --without-gui -f $DIR/../src/maki-icons.svg --export-id=$object-24 -e=$DIR/../renders/$object-12@2x.png -w 24 -h 24
+ inkscape --without-gui -f $DIR/../src/maki-icons.svg --export-id=$object-18 -e=$DIR/../renders/$object-18@2x.png -w 36 -h 36
+ inkscape --without-gui -f $DIR/../src/maki-icons.svg --export-id=$object-24 -e=$DIR/../renders/$object-24@2x.png -w 48 -h 48
+done
View
91 src/maki-icons.svg
@@ -72,17 +72,17 @@
borderopacity="1.0"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
- inkscape:zoom="1"
- inkscape:cx="771.1549"
- inkscape:cy="6.9444828"
+ inkscape:zoom="4"
+ inkscape:cx="165.30061"
+ inkscape:cy="-164.77125"
inkscape:document-units="px"
- inkscape:current-layer="layer1"
+ inkscape:current-layer="marker-stroked-24"
showgrid="true"
- inkscape:window-width="1505"
- inkscape:window-height="874"
- inkscape:window-x="152"
- inkscape:window-y="17"
- inkscape:window-maximized="0"
+ inkscape:window-width="1920"
+ inkscape:window-height="1032"
+ inkscape:window-x="0"
+ inkscape:window-y="0"
+ inkscape:window-maximized="1"
showguides="false"
inkscape:guide-bbox="true"
inkscape:object-paths="true"
@@ -519,8 +519,8 @@
inkscape:groupmode="layer"
id="layer2"
inkscape:label="background"
- sodipodi:insensitive="true"
- style="display:none">
+ style="display:none"
+ sodipodi:insensitive="true">
<rect
style="color:#000000;fill:#b3b3b3;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
id="rect5639"
@@ -541,9 +541,9 @@
<path
style="opacity:0.3;color:#000000;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#ffffff;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
d="m 134,1363.3622 -1,1 0,1.9375 -3.40625,3.4063 C 129.24756,1369.2512 129,1368.8622 129,1368.3622 l 0,-1 1,0.5 0,-2.5 -2,1.5 0,1.5 0,4 5.5,0 1.5,-2 -2.5,0 0.5,1 -1,0 c -0.5,0 -0.88892,-0.2476 -1.34375,-0.5937 l 3.40625,-3.4063 1.9375,0 1,-1 0,-2 -1,-1 z m 0.5,1 1,0 0.5,0.5 0,1 -0.5,0.5 -1.00016,0.015 -0.49984,-0.5155 0,-1 z"
- id="path7770"
inkscape:connector-curvature="0"
- sodipodi:nodetypes="ccccsccccccccccscccccccccccccccc" />
+ sodipodi:nodetypes="ccccsccccccccccscccccccccccccccc"
+ id="path7770" />
<path
sodipodi:nodetypes="ccccsccccccccccscccccccccccccccc"
inkscape:connector-curvature="0"
@@ -1358,27 +1358,20 @@
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
<g
- inkscape:export-ydpi="90"
- inkscape:export-xdpi="90"
- id="g15380-8"
+ inkscape:label="#g21955-2"
+ id="g21955-2"
style="display:inline"
- transform="translate(-72,262)">
- <g
- transform="translate(-101.99314,703.00001)"
- style="display:inline"
- id="marker-15-7-6-8-1-1-9"
- inkscape:label="marker-15">
- <path
- inkscape:connector-curvature="0"
- style="color:#000000;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#ffffff;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;opacity:0.29999999999999999;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
- d="m 114.49314,304.36219 c -3.22874,0 -6.5,3 -6.5,6.5 0,3.5 5,9.5 6.5,11.5 1.5,-2 6.5,-8 6.5,-11.5 0,-3.5 -3.27126,-6.5 -6.5,-6.5 z m 0,2 c 2.51124,0 4.5,1.77778 4.5,4.5 0,2.72222 -3.33334,6.94444 -4.5,8.5 -1.16666,-1.55556 -4.5,-5.77778 -4.5,-8.5 0,-2.72222 1.98876,-4.5 4.5,-4.5 z"
- id="path4077" />
- <path
- id="path7962-4-3-5-3-7-1"
- d="m 114.49314,304.36219 c -3.22874,0 -6.5,3 -6.5,6.5 0,3.5 5,9.5 6.5,11.5 1.5,-2 6.5,-8 6.5,-11.5 0,-3.5 -3.27126,-6.5 -6.5,-6.5 z m 0,2 c 2.51124,0 4.5,1.77778 4.5,4.5 0,2.72222 -3.33334,6.94444 -4.5,8.5 -1.16666,-1.55556 -4.5,-5.77778 -4.5,-8.5 0,-2.72222 1.98876,-4.5 4.5,-4.5 z"
- style="color:#000000;fill:#444444;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
- inkscape:connector-curvature="0" />
- </g>
+ transform="translate(-173.99314,965.00001)">
+ <path
+ id="path4077"
+ d="m 114.49314,304.36219 c -3.22874,0 -6.5,3 -6.5,6.5 0,3.5 5,9.5 6.5,11.5 1.5,-2 6.5,-8 6.5,-11.5 0,-3.5 -3.27126,-6.5 -6.5,-6.5 z m 0,2 c 2.51124,0 4.5,1.77778 4.5,4.5 0,2.72222 -3.33334,6.94444 -4.5,8.5 -1.16666,-1.55556 -4.5,-5.77778 -4.5,-8.5 0,-2.72222 1.98876,-4.5 4.5,-4.5 z"
+ style="opacity:0.3;color:#000000;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#ffffff;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ inkscape:connector-curvature="0" />
+ <path
+ inkscape:connector-curvature="0"
+ style="color:#000000;fill:#444444;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ d="m 114.49314,304.36219 c -3.22874,0 -6.5,3 -6.5,6.5 0,3.5 5,9.5 6.5,11.5 1.5,-2 6.5,-8 6.5,-11.5 0,-3.5 -3.27126,-6.5 -6.5,-6.5 z m 0,2 c 2.51124,0 4.5,1.77778 4.5,4.5 0,2.72222 -3.33334,6.94444 -4.5,8.5 -1.16666,-1.55556 -4.5,-5.77778 -4.5,-8.5 0,-2.72222 1.98876,-4.5 4.5,-4.5 z"
+ id="path7962-4-3-5-3-7-1" />
</g>
<rect
style="opacity:0.5;color:#000000;fill:none;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
@@ -1451,29 +1444,23 @@
inkscape:label="marker-24"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
+ <path
+ sodipodi:nodetypes="scsss"
+ inkscape:connector-curvature="0"
+ id="path15235"
+ d="m -53,1299.8622 c 0,3.5 -5,9.5 -6.5,11.5 -1.5,-2 -6.5,-8 -6.5,-11.5 0,-3.5 3.27126,-6.5 6.5,-6.5 3.22874,0 6.5,3 6.5,6.5 z"
+ style="opacity:0.3;color:#000000;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#ffffff;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
<g
- inkscape:export-ydpi="90"
- inkscape:export-xdpi="90"
- transform="translate(0,33)"
- id="g15422">
+ inkscape:label="#path12622-3"
+ id="path12622-3"
+ style="display:inline"
+ transform="translate(-173.99314,989.00001)">
<path
- style="opacity:0.3;color:#000000;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#ffffff;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
- d="m -53,1266.8622 c 0,3.5 -5,9.5 -6.5,11.5 -1.5,-2 -6.5,-8 -6.5,-11.5 0,-3.5 3.27126,-6.5 6.5,-6.5 3.22874,0 6.5,3 6.5,6.5 z"
- id="path15235"
+ style="color:#000000;fill:#444444;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ d="m 120.99314,310.86219 c 0,3.5 -5,9.5 -6.5,11.5 -1.5,-2 -6.5,-8 -6.5,-11.5 0,-3.5 3.27126,-6.5 6.5,-6.5 3.22874,0 6.5,3 6.5,6.5 z"
+ id="path7962-4-3-5-3"
inkscape:connector-curvature="0"
sodipodi:nodetypes="scsss" />
- <g
- transform="translate(-173.99314,956.00001)"
- style="display:inline"
- id="marker-15-7-6-8-1"
- inkscape:label="marker-15">
- <path
- sodipodi:nodetypes="scsss"
- inkscape:connector-curvature="0"
- id="path7962-4-3-5-3"
- d="m 120.99314,310.86219 c 0,3.5 -5,9.5 -6.5,11.5 -1.5,-2 -6.5,-8 -6.5,-11.5 0,-3.5 3.27126,-6.5 6.5,-6.5 3.22874,0 6.5,3 6.5,6.5 z"
- style="color:#000000;fill:#444444;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
- </g>
</g>
<rect
style="opacity:0.5;color:#000000;fill:none;stroke:none;stroke-width:2;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
Something went wrong with that request. Please try again.