f9cbf216c6f273ff4403779d1fe40c5605c5f7f4 kate Thu Oct 20 17:00:48 2016 -0700 More SVG cleanup. refs #17369 diff --git src/hg/hgGtexTrackSettings/README.txt src/hg/hgGtexTrackSettings/README.txt index 7c8a945..e02af56 100644 --- src/hg/hgGtexTrackSettings/README.txt +++ src/hg/hgGtexTrackSettings/README.txt @@ -29,28 +29,29 @@ * SVG 1.1 * Fonts: SVG, None * uncheck 'Preserve Illustrator Editing' * CSS Properties: Style Elements * check 'Output fewer elements * check 'Responsive' * Decimal places: 1 (or 2 for higher res) (Fonts (SVG/Only Glyphs ? -- if need to include fonts in SVG) (Use ) -- n/a here (e.g. curving text) ( Link ) -- n/a here (e.g. images embedded in illustration) From script/editor: 1. Strip XML header and comment from Adobe (first line should be ) -2. Clean up identifiers (replace _x5F_ with _ if needed) +2. Clean up identifiers (replace _x5F_ with _ if needed. Investigate/fix + text ids suffixed w/ _1_. - sed 's/_x5F_/_/g' file.svg > bodyMap.svg + sed -e 's/_x5F_/_/g' file.svg > bodyMap.svg mv bodyMap.svg ~/kent/src/hg/htdocs/images 3. Adjust viewbox if needed 70 45 600 730 (check aspect ratio)