![]() Some options (specifically, formatOptions and pathOptions) cannot be passed to the CLI directly. fantasticonrc.js | fantasticonrc.js) -o, -output specify output directory -n, -name base name of the font set used both as default asset name (default: icons) -t, -font-types specify font formats to generate (default: eot, woff2, woff, available: eot, woff2, woff, ttf, svg) -g -asset-types specify other asset types to generate (default: css, html, json, ts, available: css, scss, sass, html, json, ts) -h, -font-height the output font height (icons will be scaled so the highest has this height) (default: 300) -descent the font descent -normalize normalize icons by scaling them to the height of the highest icon -r, -round setup the SVG path rounding -selector use a CSS selector instead of 'tag + prefix' (default: null) -p, -prefix CSS class prefix (default: icon) -tag CSS base tag for icons (default: i) -u, -fonts-url public URL to the fonts directory (used in the generated CSS) -debug display errors stack trace (default: false) -silent run with no logs (default: false) -help display help for command Configuration file fantasticonrc.json | fantasticonrc.json |. Options Details Usage: fantasticon Options: -V, -version output the version number -c, -config custom config path (default. integrating with React type-safe icon components or integration on mobile apps by just combining TTF and JSON generation. It also generates TypeScript types, JSON maps of the generated code-points, allowing for a great deal of different usages, e.g. fantasticon ICONS -o FONT_FOLDER -n FONT_NAME -g scss -p PREFIX fantasticon icons -o fonts -n my-icons -g css html -p icon For generate icon font you can fill constans and run following command. “oslllo-svg-fixer” is working well for strokes. You can use this for strokes also but thats delete boundaries. > Choose your broken icon file -> Select text -> Shape Menu -> Stroke to Path ![]() You can use this service for converting texts to vector path. Also you can edit and save directly files on your computer disk. I think best online svg editor is easy to use and understandable. Sometimes icons are not showing because of this features. It is not necessary, but if you get better. Run this if the icon is not showing completely or svg has stroke oslllo-svg-fixer -s icons/my-broken-icon.svg -d icons No Color
0 Comments
Leave a Reply. |