You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 29, 2020. It is now read-only.
With grunt-webfont 1.7.1, I enabled ligatures in my Gruntfile.js. Yet running grunt --force webfont will create the fonts, but will fail at doing ligatures with the following:
Running "webfont:ligatures" (webfont) task
Verifying property webfont.ligatures exists in config...OK
Warning: pattern.indexOf is not a function Used --force, continuing.
In the generated icons.html file, I tried enabling ligatures via CSS by adding font-feature-settings: "liga" and I tried writing the name of an icon, but this had no effect. Ligatures are not added to the font file.
The text was updated successfully, but these errors were encountered:
Dumb me who skimmed README.md added the ligatures: true option directly in the webfont config object in Gruntfile.js instead of putting it in webfont.icons.options. Now it's working.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
With grunt-webfont 1.7.1, I enabled ligatures in my
Gruntfile.js
. Yet runninggrunt --force webfont
will create the fonts, but will fail at doing ligatures with the following:In the generated
icons.html
file, I tried enabling ligatures via CSS by addingfont-feature-settings: "liga"
and I tried writing the name of an icon, but this had no effect. Ligatures are not added to the font file.The text was updated successfully, but these errors were encountered: