kopia lustrzana https://github.com/FacilMap/facilmap
845 B
845 B
Generate the icons again
- Download Glyphicons SVG from https://github.com/twbs/bootstrap/tree/v3-dev/fonts
- Convert to icons ZIP on https://iconly.io/tools/font-to-icons-converter
- Unzip
- Inside unzipped folder, run
wget -O- https://github.com/twbs/bootstrap/raw/v3-dev/less/glyphicons.less | grep content: | while read -r line; do mv "$(echo -e "\\U$(printf "%08x" "0x$(echo "$line" | sed -re 's/^.*content: "\\(.*?)";.*$/\1/')")").svg" "$(echo "$line" | sed -re 's/^.glyphicon-([^ ]*) .*$/\1/').svg"; done
(Some char codes have multiple icon names, hence some "No such file or directory" errors.) - Manually rename
key.svg
anddoor.svg
(commented out in less file). - Run
inkscape --actions "select-all;fit-canvas-to-selection" --export-overwrite *.svg
(source) - Run
svgo *.svg