expo-font 12.0.6 → 12.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -10,6 +10,12 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 12.0.7 — 2024-06-06
14
+
15
+ ### 🐛 Bug fixes
16
+
17
+ - On `iOS`, store the font `postscriptName` instead of `fullName` which is what `iOS` will use to register the font. ([#29502](https://github.com/expo/expo/pull/29502) by [@alanjhughes](https://github.com/alanjhughes))
18
+
13
19
  ## 12.0.6 — 2024-05-29
14
20
 
15
21
  ### 🐛 Bug fixes
@@ -1,7 +1,7 @@
1
1
  apply plugin: 'com.android.library'
2
2
 
3
3
  group = 'host.exp.exponent'
4
- version = '12.0.6'
4
+ version = '12.0.7'
5
5
 
6
6
  def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
7
7
  apply from: expoModulesCorePlugin
@@ -14,6 +14,6 @@ android {
14
14
  namespace "expo.modules.font"
15
15
  defaultConfig {
16
16
  versionCode 29
17
- versionName "12.0.6"
17
+ versionName "12.0.7"
18
18
  }
19
19
  }
@@ -25,8 +25,8 @@ public final class FontLoaderModule: Module {
25
25
 
26
26
  // The real font name might be different than it's been requested by the user,
27
27
  // so we save the provided name as an alias.
28
- if let fullName = font.fullName as? String {
29
- FontFamilyAliasManager.setAlias(fontFamilyAlias, forFamilyName: fullName)
28
+ if let postScriptName = font.postScriptName as? String {
29
+ FontFamilyAliasManager.setAlias(fontFamilyAlias, forFamilyName: postScriptName)
30
30
  }
31
31
  }
32
32
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-font",
3
- "version": "12.0.6",
3
+ "version": "12.0.7",
4
4
  "description": "Load fonts at runtime and use them in React Native components.",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -42,5 +42,5 @@
42
42
  "peerDependencies": {
43
43
  "expo": "*"
44
44
  },
45
- "gitHead": "979e9f1fc3cfa9c827700dcf99992e671cfdf63e"
45
+ "gitHead": "f424c7ea50d8787fa8d3354a33fe402160b63032"
46
46
  }