-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error compiling glyph fonts #73
Comments
This is correct behaviour as far as I can tell. Let me introduce a few concepts so I can hopefully convince you of that :)
Now back to the question :)
libsass is not stripping the value, just changing it from its escape-representation to the UTF-8 bytes of the character. This also isn't libsass-python's doing (which is just a simple wrapper around libsass), for libsass itself, check out https://github.com/sass/libsass |
Thanks, for the explanation! Very enlightening. That being said, the font being used (material design icons), does have a glyph being implemented for '\e8a1'. To ensure that the issue is with Libsass, I ran my .scss file through Compass and it ran fine. You're right! The issue (unless you can point anything else I'm getting wrong), has to be with Libsass. Will bring it up on that git. |
Does the icon not display correctly? I'd be a bit surprised honestly :) |
The icon doesn’t display…unless I run it through compass in which case it’s fine. On May 26, 2015 at 11:25:32 AM, Anthony Sottile (notifications@github.com) wrote: Does the icon not display correctly? I'd be a bit surprised honestly :) — |
This is being tracked upstream: sass/libsass#1231 Here's a workaround: sass/libsass#1237 (comment) (which you should probably have an encoding anyway!) |
I attempted to use libsass as a way to integrate Materialize css (http://materializecss.com) into my django stack.
I was simply using sassc to compile the materialize.scss file and libsass strips the content value out of the out going css.
Something that should compile to this
.mdi-navigation-menu:before{content:"\e8a1"}
Compiles to this
.mdi-navigation-menu:before {content: ; }
If you have any other questions about how I found this error feel free message me for more details.
The text was updated successfully, but these errors were encountered: