(defaultFont: UIFont)
| 98 | } |
| 99 | |
| 100 | getUIFont(defaultFont: UIFont): UIFont { |
| 101 | return getUIFontCached({ |
| 102 | fontFamily: parseFontFamily(this.fontFamily), |
| 103 | // Apply a11y scale and calculate proper font size (avoid applying multiplier to native point size as it's messing calculations) |
| 104 | fontSize: this.fontSize ? this.fontSize * this.fontScale : defaultFont.pointSize, |
| 105 | fontWeight: getNativeFontWeight(this.fontWeight), |
| 106 | fontVariationSettings: this.fontVariationSettings, |
| 107 | isBold: this.isBold, |
| 108 | isItalic: this.isItalic, |
| 109 | }); |
| 110 | } |
| 111 | |
| 112 | getAndroidTypeface(): any { |
| 113 | return undefined; |
no test coverage detected