To use a fancy typeface or font on your VIP site(s), we recommend using Typekit or Google Web Fonts. Both have very easy-to-integrate APIs, are optimized to work across a wide range of popular browsers, and have large libraries of beautiful fonts.
For licensed or custom typefaces or fonts, include font files within your themes and embed them using the @font-face declaration in your CSS.
@font-face and cross-domain #
Because we serve static assets (like JS and CSS) from CDN domains (e.g.
s0.wp.com), we set a “Access-Control-Allow-Origin” header for all font files to prevent cross-domain issues in certain browsers (like Firefox). Older base64-based approaches are no longer needed as workarounds.