On Jun 23, 5:37 pm, Nathan Weizenbaum <[email protected]> wrote:
> In addition, @imported URLs now
> always compile to plain CSS, meaning that Google's @font-face service will
> work properly.

I'm having a strange issue when using Google's font service as an
@import. Importing a single font style seems to work:

@import url(http://fonts.googleapis.com/css?family=Droid
+Serif:regular)

But if I try and import more than one it seems to get confused:

@import url(http://fonts.googleapis.com/css?family=Droid
+Serif:regular,italic,bold)

This generates the errors:
WARNING: Neither url(http://fonts.googleapis.com/css?family=Droid
+Serif:regular.sass nor .scss found. Using url(http://
fonts.googleapis.com/css?family=Droid+Serif:regular.css instead.
This behavior is deprecated and will be removed in a future version.
If you really need url(http://fonts.googleapis.com/css?family=Droid
+Serif:regular.css, import it explicitly.

WARNING: Neither italic.sass nor .scss found. Using italic.css
instead.
This behavior is deprecated and will be removed in a future version.
If you really need italic.css, import it explicitly.

WARNING: Neither bold).sass nor .scss found. Using bold).css instead.
This behavior is deprecated and will be removed in a future version.
If you really need bold).css, import it explicitly.


I've tried importing the fonts individually, but there is some
weirdness there (that I'm still sorting out). As a workaround I can
add a semicolon to the end of the @import line, although the compiled
css file then has a double semicolon at the end of the line (which I
manually delete).

Thanks,
Ryan

-- 
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/haml?hl=en.

Reply via email to