Jump to content



Photo

Question about delay in displaying font


  • Please log in to reply
3 replies to this topic

#1 ::Gomez::

::Gomez::

    WiredHosting.com.ar

  • Joined: 20-April 03
  • Location: Argentina

Posted 14 September 2012 - 00:04

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://evolucioncons...ventas-futuras#


#2 primexx

primexx

    Neowinian Senior

  • Tech Issues Solved: 6
  • Joined: 24-April 05

Posted 14 September 2012 - 05:41

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.

#3 OP ::Gomez::

::Gomez::

    WiredHosting.com.ar

  • Joined: 20-April 03
  • Location: Argentina

Posted 14 September 2012 - 13:44

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.

#4 primexx

primexx

    Neowinian Senior

  • Tech Issues Solved: 6
  • Joined: 24-April 05

Posted 15 September 2012 - 05:35

check your headers and try another browser. that sounds like a caching issue.