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
Great plugin! The only issue is that you cannot control where generated css links fonts to. It's always current dir.
But in case you concatenate generated css file to your main css file, fonts may be located in other dir, so it would be very helpful to have ability to control this.
example:
knowing that my fonts would be located in dir ../fonts/ relative to css file location I add an option
cssFontPath: '../fonts/'
to gulp plugin and the generated css has urls like url(../fonts/myfont.ttf) (notice the ../fonts/ in front of font name).
Also please note there are different comma symbols in comments of generated css
chrome、firefox、opera、Safari,
↑ ↑
strange regular
Thanks!
The text was updated successfully, but these errors were encountered:
The 、 symbol is simply a Chinese symbol which means "these words are tightly relative", for an internationalized lib it should be fixed to comma ,@junmer
@olegstepura@otakustay Thanks for your issue.
It's a useful feature.
I have added option fontPath for font file location.
and, 、 is my carelessness, I fixed it into , lastest version.
Hi!
Great plugin! The only issue is that you cannot control where generated css links fonts to. It's always current dir.
But in case you concatenate generated css file to your main css file, fonts may be located in other dir, so it would be very helpful to have ability to control this.
example:
knowing that my fonts would be located in dir
../fonts/
relative to css file location I add an optioncssFontPath: '../fonts/'
to gulp plugin and the generated css has urls like
url(../fonts/myfont.ttf)
(notice the../fonts/
in front of font name).Also please note there are different comma symbols in comments of generated css
Thanks!
The text was updated successfully, but these errors were encountered: