Cufon + HTML5 Boilerplate + Jquery + Modernizr, IE8 and IE7 problems

1,110 views
Skip to first unread message

ceeg

unread,
Nov 19, 2010, 2:48:38 PM11/19/10
to cufón
I can't seem to get Cufon to work with HTML5Boilerplate with Jquery
and Modernizr on IE8 and IE7. It doesn't load at all. Is this some
interference with Modernizr and Jquery together screwing up the
selector stuff for IE? Any idea on how to fix?

Simo Kinnunen

unread,
Nov 19, 2010, 11:21:01 PM11/19/10
to cu...@googlegroups.com
Hi,

Difficult to say, but I find it unlikely that they would screw things up that badly. Need to see some code.

Simo

> --
> You received this message because you are subscribed to the Google Groups "cufón" group.
> To post to this group, send email to cu...@googlegroups.com.
> To unsubscribe from this group, send email to cufon+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/cufon?hl=en.
>

Alex Peckham

unread,
Nov 20, 2010, 11:05:04 AM11/20/10
to cu...@googlegroups.com
Have you tried using jQuery in no-conflict mode? I'm not familiar with
Modernizr but if you think the two together are interfering... jQuery
uses '$' as equivalent to 'jQuery' by default which can interfere with
other libs that also use '$'. If that is the case then it could
explain why your selectors aren't working. Take a look here:

http://docs.jquery.com/Using_jQuery_with_Other_Libraries

Alex

Cosmin Cimpoi

unread,
Nov 21, 2010, 9:51:39 AM11/21/10
to cufón
Same here.
Modernizr is definitely screwing up cufon in IE8.

Paul Irish

unread,
Nov 21, 2010, 8:07:13 PM11/21/10
to cufón


On Nov 21, 6:51 am, Cosmin Cimpoi <cosmin.cim...@gmail.com> wrote:
> Same here.
> Modernizr is definitely screwing up cufon in IE8.

Can you guys try out the newer modernizr 1.6?
Downloadable at http://www.modernizr.com/

1.0-1.5 had a @fontface test that made problems..

Matt Banks

unread,
Nov 24, 2010, 9:17:04 AM11/24/10
to cufón
On Nov 21, 8:07 pm, Paul Irish <paul.ir...@gmail.com> wrote:
> Can you guys try out the newer modernizr 1.6?
> Downloadable athttp://www.modernizr.com/
>
> 1.0-1.5 had a @fontface test that made problems..

Trying to use cufon with latest HTML5 Boilerplate with modernizer 1.6
and can't get it to work.

Cosmin Cimpoi

unread,
Nov 24, 2010, 1:52:13 PM11/24/10
to cufón
Hello Paul!

I am using 1.6 already.
The thing is that I dont't think it is supposed to work.
The way I see it Modernizr is pushing @font-face as the de facto
solution and Cufon is just a fallback.
I was trying to use Modernizr+Cufon and couldn't get it to work.
So I went the @font-face way with Helvetica Neue Ultra LIght + Light +
Thin + Normal and put the font family file trough fontquirrel.
The one thing I had to do manually was to set the proper font-weight
for the @font-face and the .HelveticaNeueUltraLight class declarations
to get the thing to work in FF+Chrome+Safari on OSX and FF+IE6-9 on
XP.
In the js I have the
if (!Modernizr.fontface) {
$.getScript("/css/type/helveneulig-cufon.js", function(){
Cufon.replace('.HelveticaNeueUltraLight', {fontFamily:
'HelveticaNeueUltraLight'});
});
...
but I need to find a browser that doesn't support @font-face to test
that :)

cosmin

On Nov 22, 3:07 am, Paul Irish <paul.ir...@gmail.com> wrote:
> On Nov 21, 6:51 am, Cosmin Cimpoi <cosmin.cim...@gmail.com> wrote:
>
> > Same here.
> > Modernizr is definitely screwing up cufon in IE8.
>
> Can you guys try out the newer modernizr 1.6?
> Downloadable athttp://www.modernizr.com/

nickff

unread,
Jun 7, 2012, 7:20:49 PM6/7/12
to cu...@googlegroups.com
I'm having issues with cufon 1.0.9i and modernizr 2.5.3. In IE8, all replaced text is doubled. It correctly replaces the text, but the un-replaced text is also visible.

Any thoughts?

Let me know.

--nick

Simo Kinnunen

unread,
Jun 7, 2012, 10:14:35 PM6/7/12
to cu...@googlegroups.com
Hi,

It's a bug in html5shiv, which modernizr uses. They have already fixed the issue, but there has been no release as of yet.

Simo

iPhoneから送信
--
You received this message because you are subscribed to the Google Groups "cufón" group.
To view this discussion on the web visit https://groups.google.com/d/msg/cufon/-/yi_g94NyQB4J.

nickff

unread,
Jun 8, 2012, 7:34:32 AM6/8/12
to cufón
Ugh, okay.

Any idea if there's a way to get my hands on the fix? I'm willing to
manually patch if there's instructions somewhere.

Let me know!

On Jun 7, 10:14 pm, Simo Kinnunen <sor...@gmail.com> wrote:
> Hi,
>
> It's a bug in html5shiv, which modernizr uses. They have already fixed the issue, but there has been no release as of yet.
>
> Simo
>
> iPhoneから送信
>
> On 2012/06/08, at 8:20, nickff <n...@thefutureforward.com> wrote:
>
>
>
>
>
>
>
> > I'm having issues with cufon 1.0.9i and modernizr 2.5.3. In IE8, all replaced text is doubled. It correctly replaces the text, but the un-replaced text is also visible.
>
> > Any thoughts?
>
> > Let me know.
>
> > --nick
>
> > On Friday, November 19, 2010 2:48:38 PM UTC-5, ceeg wrote:
> > I can't seem to get Cufon to work with HTML5Boilerplate with Jquery
> > and Modernizr on IE8 and IE7. It doesn't load at all. Is this some
> > interference with Modernizr and Jquery together screwing up the
> > selector stuff for IE? Any idea on how to fix?
> > --
> > You received this message because you are subscribed to the Google Groups "cufón" group.
> > To view this discussion on the web visithttps://groups.google.com/d/msg/cufon/-/yi_g94NyQB4J.
Reply all
Reply to author
Forward
0 new messages