Coder Social home page Coder Social logo

Comments (10)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024
I'm not seeing any problems with this page. You must to enable ActiveX to allow
custom fonts in MSIE. Maybe that is the problem. Regardless, this has nothing 
to do
with the IE7 script.

Original comment by [email protected] on 26 Feb 2008 at 8:38

  • Changed state: Invalid

from ie7-js.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024
The problem isn't the fonts' embedding. It's that having the @font-face in the 
document with IE7/IE8.js applied causes problems as the page will not render at 
all 
with or without ActiveX turned on. Turn IE8.js off in that document and the 
page 
loads. I tested this on multiple computers and all of them are producing the 
same 
result.

I've provided a screenshot to show what is going on. The window starts having 
redraw 
problems. The white there is caused by resizing the window.

Original comment by [email protected] on 28 Feb 2008 at 4:22

Attachments:

from ie7-js.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024
dunno if that helps but "IE doesn’t render anything in the page until the 
font file 
is done downloading if there is a SCRIPT tag above the @font-face declaration."

Original comment by [email protected] on 11 Feb 2010 at 11:47

from ie7-js.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024
It's possible that this bug relates to IE7.js version 2.0 beta2 and has since 
been 
fixed. I can't recreate it.

Original comment by [email protected] on 12 Feb 2010 at 2:10

from ie7-js.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024
I still have this issue in IE6 ( although I'm using 2.1(beta4) ).
So nothing in the page loads and the 'MSN thing' from above applies as well.
But this thing happens only a few times...

Everything comes back to normal after one refresh.

Original comment by [email protected] on 21 May 2010 at 3:03

from ie7-js.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024
@TheSebah, if you can provide a test page then I will look into it.

Original comment by [email protected] on 21 May 2010 at 4:21

from ie7-js.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024
Having this problem, too. Just embed a font from kernest.com, then add IE7 
script and the page is white in IE6. If you remove the IE7 script, it works 
again.

Original comment by [email protected] on 8 Sep 2010 at 2:33

from ie7-js.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024
The same problem with Win7 IE8 & ie9-script, but here a
body { zoom: 1 }
helps :)

Original comment by [email protected] on 8 Sep 2010 at 2:45

from ie7-js.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024
Can you please re-open this issue?

When I add an alert into ie7-css.js:

newCssText = cssText.replace(/@charset[^;]+;|@font\-face[^\}]+\}/g, 
function(match) {
  declarations += match + "\n";
  return "";
});
alert(1);
this.cssText = newCssText;

Then the page gets rendered correctly while the alert is active and then stays 
correct.

It seems that the issues has to do with loading time, because without alert, 
the page randomly sometimes shows the font correctly and sometimes shows a 
white page. With alert, it shows the correct page every time.

I think that ie7-js makes some changes while the EOT hasn't finished 
downloading and this causes the problems.

Can you think of a workaround?

If you require more details for something, please let me know.

Original comment by [email protected] on 8 Sep 2010 at 3:45

from ie7-js.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024
There is a known problem with cssText and @font-face... could this be related?

http://www.phpied.com/dynamic-script-and-style-elements-in-ie/#comment-72460

AND

http://paulirish.com/2010/font-face-gotchas/

Original comment by [email protected] on 25 Sep 2010 at 3:28

from ie7-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.