Closed m-v-novikov closed 6 years ago
this is not a css problem
if some body have any idea, I will be grateful. please help me))
change size by inkscape to 1024px x 1024px and offset stand smaller http://joxi.ru/bmoYWl4uxNjnlA but this is not enough, and this is can't help(I think, can't get true position by this decision)
icons: { src: 'path/*.svg', dest: 'path', destCss: "path", options: { fontFilename: 'IconsMain', hashes: false, types: "eot,woff2,woff,ttf,svg", templateOptions: { baseClass: 'mIcons', classPrefix: 'm_' }, stylesheets: ["scss"], normalize: true, autoHint: false, htmlDemo: false, fontPathVariables: true, relativeFontPath: "./../path", } }
OS Ubuntu 17.10 Task manager: grunt(grunt-cli v1.2.0) What it can be. True size of icon - 80px x 80px. (if i do sizes bigger, for example 512px x 512px - offset is stand smaller)
was tried generate fonts on node engine - have warning - "Found a clipPath element in the icon "iconName" theresult may be different than expected." and generated icons have color(black and white) reverse(but doesn't having offset problem)
all path are summed.
viewBox="2289 -1301 96 96" (viewBox="0 0 96 96" - don't help)