(size, weight, fontFamily)
| 27613 | return defaultFontFamily; |
| 27614 | } |
| 27615 | function _createFont(size, weight, fontFamily) { |
| 27616 | return { |
| 27617 | fontFamily: fontFamily, |
| 27618 | MozOsxFontSmoothing: "grayscale", |
| 27619 | WebkitFontSmoothing: "antialiased", |
| 27620 | fontSize: size, |
| 27621 | fontWeight: weight |
| 27622 | }; |
| 27623 | } |
| 27624 | function createFontStyles(localeCode) { |
| 27625 | var localizedFont = _getLocalizedFontFamily(localeCode); |
| 27626 | var fontFamilyWithFallback = _fontFamilyWithFallbacks(localizedFont); |