Cannot register font asset with Worker()
The font i have always used cannot be registered with the new runtime.
I have been using rive for almost a year, and it was no issue before registering custom fonts from `Bundle.main` or `Bundle.module`. After 6.19 when the concurrency version was released, i wanted to migrate. However, i cannot load the fonts now. I am attaching an example snippet, which is the migrated version of legacy rive usage. I believe there might be an issue where global font asset loader might not resolve the font, and therefore cannot update the rive view. Any help would be appreciated.
I might share the rive file with `.riv` extension in private (due to an enterprise) when needed.
```swift
do {
let worker = try await Worker()
guard let url = Bundle.module.url(forResource: "font_resource", withExtension: "ttf") else {
return
}
let data = try Data(contentsOf: url)
let font = try await worker.decodeFont(from: data)
worker.addGlobalFontAsset(font, name: "font_name")
let file = try await File(
source: .local("file_name", .module),
worker: worker
)
self.rive = try await Rive(file: file)
self.rive?.viewModelInstance?.setValue(
of: StringProperty(path: "buttonText"),
to: "Button"
)
} catch {
print(error)
}
```I have been using 6.12.0 for a year, now i wanna migrate with 6.20.0.