Skip to content
This repository has been archived by the owner on May 29, 2020. It is now read-only.

gradient is missing in generated icon #391

Open
himanshumeena opened this issue Mar 28, 2019 · 1 comment
Open

gradient is missing in generated icon #391

himanshumeena opened this issue Mar 28, 2019 · 1 comment

Comments

@himanshumeena
Copy link

himanshumeena commented Mar 28, 2019

i am trying to generate icon using grunt webfont through svg.
svg contains some linear gradient which is missing in generated icon.
i am attaching both svg and generated icon in this issue.

web font configuration while generating the icon:
options: { font: 'app-icons', types: 'woff', engine: 'node', embed: true, autoHint: false, htmlDemo: false, template: 'assets/template.less', startCodepoint: 0xe600, normalize: true, optimize: false, fontHeight: 512, descent: 32, },

svg:

svg.txt
given svg:
image

output icon:
image

can you please fix this

@jleider
Copy link

jleider commented Dec 30, 2019

Gradients are not supported in font icons as font glyphs themselves are always a single color.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants