Large Web Font (Yes or No?)
I want to use special font on my website, but the file is over 9 MB. Is it pos开发者_如何学JAVAsible to reduce font's size? Thanks folks!
If the font's EULA allows it, you can shrink down the number of glyphs in an OpenType font using FontForge.
Unless this site is being served over a LAN connection, using a 9MB font is ridiculous. That would force each user to be downloading a 9mb file just to view the font you use. You would be much better off picking a font that everyone has.
www.fontsquirrel.com offers the font-face kit section that converts fonts for you - one of the choices is to have a subset of glyphs - only uppercase or just numbers. That might help to reduce the size. Typically fonts served as WOFF are below 100kb.
Even if you shrink the font, most users' web browsers won't download or display it.
http://www.webdirections.org/blog/the-return-of-font-embedding-to-the-web/
精彩评论