Fonts won\'t display on windows

Home Forums Use Any Fonts Fonts won\'t display on windows

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #5088
    Eugenie
    Guest

    Hi,

    Since I switched over from our test domain (tgchdt.com) to our primary domain (gmc.hyundai.com), the uploaded/assigned fonts aren’t displayed.
    I even selected the “Use relative path for font” option and also deactivated and re-activated the plugin but still won’t work.

    Your help would be greatly appreciated.

    Thank you.

    #5092
    Dinesh
    Keymaster

    Hi Eugenie,

    Even after the move your site is still using resources from http://www.tgchdt.com. So there is cross domain issue for font loading. So can you please keep this in your htaccess file and try ?



    Header set Access-Control-Allow-Origin “*”

    This should solve the cross domain issue.

    Thanks

    #5094
    Eugenie
    Guest

    Hi,

    Thank you for advice. I added the below:

    <IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin “*”
    </IfModule>

    to my .htaccess file and the fonts load correctly on chrome on windows BUT doesn’t work for explorer on windows. 🙁

    Any further idea on what I can do?

    Thank you so much!

    #5099
    Dinesh
    Keymaster

    Hi Eugenie,

    Sorry my mistake here. I didn’t noticed the code changed after posting here.

    Can you please use this

    <FilesMatch "\.(ttf|otf|eot|woff)$">
      <IfModule mod_headers.c>
        Header set Access-Control-Allow-Origin "*"
      </IfModule>
    </FilesMatch>

    Thanks

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Fonts won\'t display on windows’ is closed to new replies.