They use plain CSS.
Just use regular font families as follows:
font-family: 'Open Sans', sans-serif;
Now you decide how much weight the font should have by adding
for bold
font-weight:600;
bold (700)
font-weight:bold;
for extra oily (800)
font-weight:800;
Likewise, this is fallback proof, so if the google font should fail, your backup Arial / Helvetica (Sans-serif) font uses the same weight as the google font.
Pretty smart :-)
Please note that various font fonts must be specially imported via the link tag URL (the google font URL family request parameter) in the header.
For example, the following link will contain both a weight of 400 and 700:
<link href='fonts.googleapis.com/css?family=Comfortaa:400,700'; rel='stylesheet' type='text/css'>
Marco Johannesen Aug 31 '11 at 11:12 2011-08-31 11:12
source share