(baseUrl, fontFamily, cdnFolder, cdnFontName, localFontName)
| 27666 | }); |
| 27667 | } |
| 27668 | function _registerFontFaceSet(baseUrl, fontFamily, cdnFolder, cdnFontName, localFontName) { |
| 27669 | if (cdnFontName === void 0) cdnFontName = "segoeui"; |
| 27670 | var urlBase = baseUrl + "/" + cdnFolder + "/" + cdnFontName; |
| 27671 | _registerFontFace(fontFamily, urlBase + "-light", (0, _fluentFonts.FontWeights).light, localFontName && localFontName + " Light"); |
| 27672 | _registerFontFace(fontFamily, urlBase + "-semilight", (0, _fluentFonts.FontWeights).semilight, localFontName && localFontName + " SemiLight"); |
| 27673 | _registerFontFace(fontFamily, urlBase + "-regular", (0, _fluentFonts.FontWeights).regular, localFontName); |
| 27674 | _registerFontFace(fontFamily, urlBase + "-semibold", (0, _fluentFonts.FontWeights).semibold, localFontName && localFontName + " SemiBold"); |
| 27675 | _registerFontFace(fontFamily, urlBase + "-bold", (0, _fluentFonts.FontWeights).bold, localFontName && localFontName + " Bold"); |
| 27676 | } |
| 27677 | function registerDefaultFontFaces(baseUrl) { |
| 27678 | if (baseUrl) { |
| 27679 | var fontUrl = baseUrl + "/fonts"; |
no test coverage detected