Cyrillic & Eastern Europe: October 2013 Archives

Embedded Fonts htaccess Update

|

htaccess Fix

Since Penn State just rolled out its Word Press service, I thought I experiment with font embedding with SIL webfont kits I uploaded into one of my directories on another server. The good news is that it works, but I had to adjust my .htacess file to allow Firefox to process the files.

The code that worked for me was:

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

Thanks Stack Overflow and the Sites Team for their help.

Correction - Not on Firefox for Mac

I thought it was working on Firefox for Mac, but something broke. Oy. It is OK on Firefox for PC.

Google Fonts not Just English

I was also happy to find that the Google Fonts options have expanded to Greek, Cyrillic and extended Latin. Just click the Script to filter for the appropriate fonts. There are some choices if you don't want to mess with your .htaccess file.

Categories:

About The Blog

I am a Penn State technology specialist with a degree in linguistics and have maintained the Penn State Computing with Accents page since 2000.

See Elizabeth Pyatt's Homepage (ejp10@psu.edu) for a profile.

Comments

The standard commenting utility has been disabled due to hungry spam. If you have a comment, please feel free to drop me a line at (ejp10@psu.edu).

Powered by Movable Type Pro

Recent Comments