| /expo/android/vendored/unversioned/react-native-svg/android/src/main/java/com/horcrux/svg/ |
| H A D | FontData.java | 139 return font.getDouble(prop); in toAbsolute() 164 if (font.hasKey(FONT_SIZE)) { in FontData() 170 if (font.hasKey(FONT_WEIGHT)) { in FontData() 189 fontData = font.hasKey(FONT_DATA) ? font.getMap(FONT_DATA) : parent.fontData; in FontData() 191 fontFamily = font.hasKey(FONT_FAMILY) ? font.getString(FONT_FAMILY) : parent.fontFamily; in FontData() 193 font.hasKey(FONT_STYLE) ? FontStyle.valueOf(font.getString(FONT_STYLE)) : parent.fontStyle; in FontData() 195 font.hasKey(FONT_FEATURE_SETTINGS) in FontData() 208 font.hasKey(TEXT_ANCHOR) in FontData() 212 font.hasKey(TEXT_DECORATION) in FontData() 224 font.hasKey(WORD_SPACING) in FontData() [all …]
|
| /expo/android/vendored/sdk47/react-native-svg/android/src/main/java/abi47_0_0/com/horcrux/svg/ |
| H A D | FontData.java | 139 return font.getDouble(prop); in toAbsolute() 164 if (font.hasKey(FONT_SIZE)) { in FontData() 170 if (font.hasKey(FONT_WEIGHT)) { in FontData() 189 fontData = font.hasKey(FONT_DATA) ? font.getMap(FONT_DATA) : parent.fontData; in FontData() 191 fontFamily = font.hasKey(FONT_FAMILY) ? font.getString(FONT_FAMILY) : parent.fontFamily; in FontData() 193 font.hasKey(FONT_STYLE) ? FontStyle.valueOf(font.getString(FONT_STYLE)) : parent.fontStyle; in FontData() 195 font.hasKey(FONT_FEATURE_SETTINGS) in FontData() 208 font.hasKey(TEXT_ANCHOR) in FontData() 212 font.hasKey(TEXT_DECORATION) in FontData() 224 font.hasKey(WORD_SPACING) in FontData() [all …]
|
| /expo/android/vendored/sdk48/react-native-svg/android/src/main/java/abi48_0_0/com/horcrux/svg/ |
| H A D | FontData.java | 139 return font.getDouble(prop); in toAbsolute() 164 if (font.hasKey(FONT_SIZE)) { in FontData() 170 if (font.hasKey(FONT_WEIGHT)) { in FontData() 189 fontData = font.hasKey(FONT_DATA) ? font.getMap(FONT_DATA) : parent.fontData; in FontData() 191 fontFamily = font.hasKey(FONT_FAMILY) ? font.getString(FONT_FAMILY) : parent.fontFamily; in FontData() 193 font.hasKey(FONT_STYLE) ? FontStyle.valueOf(font.getString(FONT_STYLE)) : parent.fontStyle; in FontData() 195 font.hasKey(FONT_FEATURE_SETTINGS) in FontData() 208 font.hasKey(TEXT_ANCHOR) in FontData() 212 font.hasKey(TEXT_DECORATION) in FontData() 224 font.hasKey(WORD_SPACING) in FontData() [all …]
|
| /expo/android/vendored/sdk49/react-native-svg/android/src/main/java/abi49_0_0/com/horcrux/svg/ |
| H A D | FontData.java | 139 return font.getDouble(prop); in toAbsolute() 164 if (font.hasKey(FONT_SIZE)) { in FontData() 170 if (font.hasKey(FONT_WEIGHT)) { in FontData() 189 fontData = font.hasKey(FONT_DATA) ? font.getMap(FONT_DATA) : parent.fontData; in FontData() 191 fontFamily = font.hasKey(FONT_FAMILY) ? font.getString(FONT_FAMILY) : parent.fontFamily; in FontData() 193 font.hasKey(FONT_STYLE) ? FontStyle.valueOf(font.getString(FONT_STYLE)) : parent.fontStyle; in FontData() 195 font.hasKey(FONT_FEATURE_SETTINGS) in FontData() 208 font.hasKey(TEXT_ANCHOR) in FontData() 212 font.hasKey(TEXT_DECORATION) in FontData() 224 font.hasKey(WORD_SPACING) in FontData() [all …]
|
| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/react/renderer/textlayoutmanager/platform/ios/ |
| H A D | ABI48_0_0RCTFontUtils.mm | 76 UIFont *font; 86 if (!font) { 105 return font; 115 UIFont *font; 124 // Gracefully handle being given a font name rather than font family, for 128 if (!font) { 129 // Failback to system font. 144 font = fontMatch; 149 if (!font) { 158 // Apply font variants to font object. [all …]
|
| /expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/react/renderer/textlayoutmanager/platform/ios/react/renderer/textlayoutmanager/ |
| H A D | ABI49_0_0RCTFontUtils.mm | 76 UIFont *font; 86 if (!font) { 105 return font; 115 UIFont *font; 124 // Gracefully handle being given a font name rather than font family, for 128 if (!font) { 129 // Failback to system font. 144 font = fontMatch; 149 if (!font) { 158 // Apply font variants to font object. [all …]
|
| /expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/react/renderer/textlayoutmanager/platform/ios/ |
| H A D | ABI47_0_0RCTFontUtils.mm | 76 UIFont *font; 86 if (!font) { 105 return font; 115 UIFont *font; 124 // Gracefully handle being given a font name rather than font family, for 128 if (!font) { 129 // Failback to system font. 144 font = fontMatch; 149 if (!font) { 158 // Apply font variants to font object. [all …]
|
| /expo/packages/expo-font/src/__tests__/__snapshots__/ |
| H A D | Font-test.native.ts.snap.ios | 3 exports[`within Expo client loadAsync completes after loading a font 1`] = ` 5 "testsession-test-font", 6 "file:/test/test-font.ttf", 10 …client loadAsync throws if downloading a font fails 1`] = `[Error: Failed to download asset for fo… 12 exports[`within Expo client loadAsync throws if loading a downloaded font fails 1`] = `[Error: Inte… 14 exports[`within Expo client processFontFamily defaults missing fonts to the system font 1`] = ` 16 "fontFamily "not-loaded" is not a system font and has not been loaded through expo-font.", 20 exports[`within Expo client processFontFamily defaults still-loading fonts to the system font 1`] =… 22 …d loading the font "loading", but used it before it finished loading. You need to wait for Font.lo… 26 …ent processFontFamily scopes loaded names of loaded fonts 1`] = `"ExpoFont-testsession-test-font"`;
|
| H A D | Font-test.native.ts.snap.android | 3 exports[`within Expo client loadAsync completes after loading a font 1`] = ` 5 "testsession-test-font", 6 "file:/test/test-font.ttf", 10 …client loadAsync throws if downloading a font fails 1`] = `[Error: Failed to download asset for fo… 12 exports[`within Expo client loadAsync throws if loading a downloaded font fails 1`] = `[Error: Inte… 14 exports[`within Expo client processFontFamily defaults missing fonts to the system font 1`] = ` 16 "fontFamily "not-loaded" is not a system font and has not been loaded through expo-font.", 20 exports[`within Expo client processFontFamily defaults still-loading fonts to the system font 1`] =… 22 …d loading the font "loading", but used it before it finished loading. You need to wait for Font.lo… 26 …ent processFontFamily scopes loaded names of loaded fonts 1`] = `"ExpoFont-testsession-test-font"`;
|
| /expo/ios/versioned-react-native/ABI47_0_0/ReactNative/React/Views/ |
| H A D | ABI47_0_0RCTFont.mm | 143 if (!font) { 154 return font; 293 if (font) { 301 // Get font attributes 316 if (font) { 334 // Gracefully handle being given a font name rather than font family, for 338 if (font) { 339 // It's actually a font name, not a font family name, 367 font = match; 380 // Apply font variants to font object [all …]
|
| /expo/ios/versioned-react-native/ABI48_0_0/ReactNative/React/Views/ |
| H A D | ABI48_0_0RCTFont.mm | 143 if (!font) { 154 return font; 373 if (font) { 381 // Get font attributes 396 if (font) { 414 // Gracefully handle being given a font name rather than font family, for 418 if (font) { 419 // It's actually a font name, not a font family name, 447 font = match; 460 // Apply font variants to font object [all …]
|
| /expo/ios/versioned-react-native/ABI49_0_0/ReactNative/React/Views/ |
| H A D | ABI49_0_0RCTFont.mm | 143 if (!font) { 154 return font; 373 if (font) { 381 // Get font attributes 396 if (font) { 414 // Gracefully handle being given a font name rather than font family, for 418 if (font) { 419 // It's actually a font name, not a font family name, 447 font = match; 460 // Apply font variants to font object [all …]
|
| /expo/ios/versioned-react-native/ABI48_0_0/Expo/ExpoKit/Core/Api/Components/Picker/ |
| H A D | ABI48_0_0RNCPickerManager.m | 31 …view.font = [ABI48_0_0RCTFont updateFont:view.font withSize:json ?: @(defaultView.font.pointSize)]; 35 view.font = [ABI48_0_0RCTFont updateFont:view.font withWeight:json]; // defaults to normal 39 view.font = [ABI48_0_0RCTFont updateFont:view.font withStyle:json]; // defaults to normal 43 …view.font = [ABI48_0_0RCTFont updateFont:view.font withFamily:json ?: defaultView.font.familyName];
|
| /expo/ios/versioned-react-native/ABI49_0_0/Expo/ExpoKit/Core/Api/Components/Picker/ |
| H A D | ABI49_0_0RNCPickerManager.m | 32 …view.font = [ABI49_0_0RCTFont updateFont:view.font withSize:json ?: @(defaultView.font.pointSize)]; 36 view.font = [ABI49_0_0RCTFont updateFont:view.font withWeight:json]; // defaults to normal 40 view.font = [ABI49_0_0RCTFont updateFont:view.font withStyle:json]; // defaults to normal 44 …view.font = [ABI49_0_0RCTFont updateFont:view.font withFamily:json ?: defaultView.font.familyName];
|
| /expo/ios/versioned-react-native/ABI47_0_0/Expo/ExpoKit/Core/Api/Components/Picker/ |
| H A D | ABI47_0_0RNCPickerManager.m | 31 …view.font = [ABI47_0_0RCTFont updateFont:view.font withSize:json ?: @(defaultView.font.pointSize)]; 35 view.font = [ABI47_0_0RCTFont updateFont:view.font withWeight:json]; // defaults to normal 39 view.font = [ABI47_0_0RCTFont updateFont:view.font withStyle:json]; // defaults to normal 43 …view.font = [ABI47_0_0RCTFont updateFont:view.font withFamily:json ?: defaultView.font.familyName];
|
| /expo/ios/Exponent/Versioned/Core/Api/Components/Picker/ |
| H A D | RNCPickerManager.m | 32 view.font = [RCTFont updateFont:view.font withSize:json ?: @(defaultView.font.pointSize)]; 36 view.font = [RCTFont updateFont:view.font withWeight:json]; // defaults to normal 40 view.font = [RCTFont updateFont:view.font withStyle:json]; // defaults to normal 44 view.font = [RCTFont updateFont:view.font withFamily:json ?: defaultView.font.familyName];
|
| /expo/ios/vendored/unversioned/@shopify/react-native-skia/cpp/skia/include/core/ |
| H A D | SkTextBlob.h | 106 static sk_sp<SkTextBlob> MakeFromString(const char* string, const SkFont& font, 111 return MakeFromText(string, strlen(string), font, encoding); 142 const SkPoint pos[], const SkFont& font, 223 SkFont font; member 347 const RunBuffer& allocRun(const SkFont& font, int count, SkScalar x, SkScalar y, 371 const RunBuffer& allocRunPosH(const SkFont& font, int count, SkScalar y, 394 const RunBuffer& allocRunPos(const SkFont& font, int count, 398 const RunBuffer& allocRunRSXform(const SkFont& font, int count); 473 const RunBuffer& allocRunTextPos(const SkFont& font, int count, int textByteCount, 482 void allocInternal(const SkFont& font, SkTextBlob::GlyphPositioning positioning, [all …]
|
| /expo/ios/vendored/sdk48/@shopify/react-native-skia/cpp/skia/include/core/ |
| H A D | SkTextBlob.h | 106 static sk_sp<SkTextBlob> MakeFromString(const char* string, const SkFont& font, 111 return MakeFromText(string, strlen(string), font, encoding); 142 const SkPoint pos[], const SkFont& font, 223 SkFont font; member 347 const RunBuffer& allocRun(const SkFont& font, int count, SkScalar x, SkScalar y, 371 const RunBuffer& allocRunPosH(const SkFont& font, int count, SkScalar y, 394 const RunBuffer& allocRunPos(const SkFont& font, int count, 398 const RunBuffer& allocRunRSXform(const SkFont& font, int count); 473 const RunBuffer& allocRunTextPos(const SkFont& font, int count, int textByteCount, 482 void allocInternal(const SkFont& font, SkTextBlob::GlyphPositioning positioning, [all …]
|
| /expo/ios/vendored/sdk47/@shopify/react-native-skia/cpp/skia/include/core/ |
| H A D | SkTextBlob.h | 106 static sk_sp<SkTextBlob> MakeFromString(const char* string, const SkFont& font, 111 return MakeFromText(string, strlen(string), font, encoding); 142 const SkPoint pos[], const SkFont& font, 223 SkFont font; member 347 const RunBuffer& allocRun(const SkFont& font, int count, SkScalar x, SkScalar y, 371 const RunBuffer& allocRunPosH(const SkFont& font, int count, SkScalar y, 394 const RunBuffer& allocRunPos(const SkFont& font, int count, 398 const RunBuffer& allocRunRSXform(const SkFont& font, int count); 473 const RunBuffer& allocRunTextPos(const SkFont& font, int count, int textByteCount, 482 void allocInternal(const SkFont& font, SkTextBlob::GlyphPositioning positioning, [all …]
|
| /expo/android/vendored/unversioned/@shopify/react-native-skia/cpp/skia/include/core/ |
| H A D | SkTextBlob.h | 106 static sk_sp<SkTextBlob> MakeFromString(const char* string, const SkFont& font, 111 return MakeFromText(string, strlen(string), font, encoding); 142 const SkPoint pos[], const SkFont& font, 223 SkFont font; member 347 const RunBuffer& allocRun(const SkFont& font, int count, SkScalar x, SkScalar y, 371 const RunBuffer& allocRunPosH(const SkFont& font, int count, SkScalar y, 394 const RunBuffer& allocRunPos(const SkFont& font, int count, 398 const RunBuffer& allocRunRSXform(const SkFont& font, int count); 473 const RunBuffer& allocRunTextPos(const SkFont& font, int count, int textByteCount, 482 void allocInternal(const SkFont& font, SkTextBlob::GlyphPositioning positioning, [all …]
|
| /expo/android/vendored/sdk47/@shopify/react-native-skia/cpp/skia/include/core/ |
| H A D | SkTextBlob.h | 102 static sk_sp<SkTextBlob> MakeFromString(const char* string, const SkFont& font, 107 return MakeFromText(string, strlen(string), font, encoding); 138 const SkPoint pos[], const SkFont& font, 219 SkFont font; member 344 const RunBuffer& allocRun(const SkFont& font, int count, SkScalar x, SkScalar y, 368 const RunBuffer& allocRunPosH(const SkFont& font, int count, SkScalar y, 391 const RunBuffer& allocRunPos(const SkFont& font, int count, 395 const RunBuffer& allocRunRSXform(const SkFont& font, int count); 470 const RunBuffer& allocRunTextPos(const SkFont& font, int count, int textByteCount, 479 void allocInternal(const SkFont& font, SkTextBlob::GlyphPositioning positioning, [all …]
|
| /expo/android/vendored/sdk48/@shopify/react-native-skia/cpp/skia/include/core/ |
| H A D | SkTextBlob.h | 106 static sk_sp<SkTextBlob> MakeFromString(const char* string, const SkFont& font, 111 return MakeFromText(string, strlen(string), font, encoding); 142 const SkPoint pos[], const SkFont& font, 223 SkFont font; member 347 const RunBuffer& allocRun(const SkFont& font, int count, SkScalar x, SkScalar y, 371 const RunBuffer& allocRunPosH(const SkFont& font, int count, SkScalar y, 394 const RunBuffer& allocRunPos(const SkFont& font, int count, 398 const RunBuffer& allocRunRSXform(const SkFont& font, int count); 473 const RunBuffer& allocRunTextPos(const SkFont& font, int count, int textByteCount, 482 void allocInternal(const SkFont& font, SkTextBlob::GlyphPositioning positioning, [all …]
|
| /expo/ios/vendored/sdk49/@shopify/react-native-skia/cpp/skia/include/core/ |
| H A D | SkTextBlob.h | 106 static sk_sp<SkTextBlob> MakeFromString(const char* string, const SkFont& font, 111 return MakeFromText(string, strlen(string), font, encoding); 142 const SkPoint pos[], const SkFont& font, 223 SkFont font; member 347 const RunBuffer& allocRun(const SkFont& font, int count, SkScalar x, SkScalar y, 371 const RunBuffer& allocRunPosH(const SkFont& font, int count, SkScalar y, 394 const RunBuffer& allocRunPos(const SkFont& font, int count, 398 const RunBuffer& allocRunRSXform(const SkFont& font, int count); 473 const RunBuffer& allocRunTextPos(const SkFont& font, int count, int textByteCount, 482 void allocInternal(const SkFont& font, SkTextBlob::GlyphPositioning positioning, [all …]
|
| /expo/android/vendored/sdk49/@shopify/react-native-skia/cpp/skia/include/core/ |
| H A D | SkTextBlob.h | 106 static sk_sp<SkTextBlob> MakeFromString(const char* string, const SkFont& font, 111 return MakeFromText(string, strlen(string), font, encoding); 142 const SkPoint pos[], const SkFont& font, 223 SkFont font; member 347 const RunBuffer& allocRun(const SkFont& font, int count, SkScalar x, SkScalar y, 371 const RunBuffer& allocRunPosH(const SkFont& font, int count, SkScalar y, 394 const RunBuffer& allocRunPos(const SkFont& font, int count, 398 const RunBuffer& allocRunRSXform(const SkFont& font, int count); 473 const RunBuffer& allocRunTextPos(const SkFont& font, int count, int textByteCount, 482 void allocInternal(const SkFont& font, SkTextBlob::GlyphPositioning positioning, [all …]
|
| /expo/docs/pages/develop/user-interface/ |
| H A D | fonts.mdx | 16 ## Get a font 20 ### Supported font formats 46 ## Use a custom font 48 After getting the font file, in your project, you need to install [`expo-font`](/versions/latest/sd… 50 ### Import the font 56 import { useFonts } from 'expo-font'; 82 /* @info Import useFonts hook from 'expo-font'. */ import { useFonts } from 'expo-font'; /* @end */ 133 src="/static/images/font-example-custom-font.jpg" 224 <SnackInline label="Using a remote font" dependencies={['expo-font']}> 266 <SnackInline label="Loading font async" dependencies={['expo-font']} files={{ [all …]
|