• 0

Question about delay in displaying font


Question

Hi, i have a doubt.. we have this website wich loads an specific font.. the issue is that it has a delay.. first it shows the original font, and then it switches to the new soft and smooth font..

can we avoid this delay and see directly the new font everytime?

if you refresh the website it allways does that transition between the 2 fonts...

http://evolucionconstante.com/productos-ventas-futuras#

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

simple answer: you can't.

long answer: the delay arises from the time it takes to download the font. behaviour depends on browser. some render the text and re-render it when the font is downloaded, others just leave the text blank until the font's downloaded. both results in a delay of when the webfont gets shown, one just shows the text before while the other doesn't even. there are ways to work around this and enforce a uniform behaviour across browsers, but it'll lead to un-desirable side effects sometimes (biggest problem would be when the fonts don't load at all). it's best just to leave it alone and let the browser deal with it.

Link to comment
Share on other sites

  • 0

That behaviour would be normal the first time it loads the website, but everytime you access the website does the same transition and delay.. i thouhgt that maybe there was another way to call that font and avoid that delay.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.