Work Sans Fallback Font CSS
Paste this @font-face block so Arial matches Work Sans’s line height and width before the web font loads (0.58% measured height shift).
Recommended: Arial 0.58% shift
/* Measured line-box delta vs Arial: 0.58% */
@font-face {
font-family: "Work Sans Fallback";
src: local("Arial");
size-adjust: 108.19%;
ascent-override: 85.93%;
descent-override: 22.48%;
line-gap-override: 0.00%;
}
/* Usage */
font-family: "Work Sans", "Work Sans Fallback", sans-serif; Timber, salt air, and low winter light shaped twelve small studios built along the Oregon coast between 1968 and 1984. Most still stand on their original cedar pilings. Click the toggle button above to check that line wraps stay steady when Work Sans finishes downloading.
Other system fallbacks (Helvetica, Georgia, Times New Roman)
| System Font | size-adjust | ascent-override | descent-override | line-gap-override | Measured shift |
|---|---|---|---|---|---|
| Arial | 108.19% | 85.93% | 22.48% | 0.00% | 0.58% |
| Helvetica | 107.24% | 86.69% | 22.68% | 0.00% | 0.64% |
| Georgia | 103.60% | 89.74% | 23.47% | 0.00% | 1.28% |
| Times New Roman | 119.41% | 77.85% | 20.36% | 0.00% | 1.63% |
Helvetica
/* Measured line-box delta vs Helvetica: 0.64% */
@font-face {
font-family: "Work Sans Fallback";
src: local("Helvetica");
size-adjust: 107.24%;
ascent-override: 86.69%;
descent-override: 22.68%;
line-gap-override: 0.00%;
}
/* Usage */
font-family: "Work Sans", "Work Sans Fallback", sans-serif; Georgia
/* Measured line-box delta vs Georgia: 1.28% */
@font-face {
font-family: "Work Sans Fallback";
src: local("Georgia");
size-adjust: 103.60%;
ascent-override: 89.74%;
descent-override: 23.47%;
line-gap-override: 0.00%;
}
/* Usage */
font-family: "Work Sans", "Work Sans Fallback", serif; Times New Roman
/* Measured line-box delta vs Times New Roman: 1.63% */
@font-face {
font-family: "Work Sans Fallback";
src: local("Times New Roman");
size-adjust: 119.41%;
ascent-override: 77.85%;
descent-override: 20.36%;
line-gap-override: 0.00%;
}
/* Usage */
font-family: "Work Sans", "Work Sans Fallback", serif;