You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tangram v0.21.1 [error]: Scene.load() failed to load "scene.yaml": can't assign to property "url" on "external": not an object TypeError: can't assign to property "url" on "external": not an object
Yikes, you're right, external fonts do appear to have been broken for some quite awhile 😬 It's an easy fix. I almost wonder if this functionality should just be deprecated, but it does have a logical use, for example in cases where you have brand-specific font you're already loading in your app and don't want to duplicate resources.
TANGRAM VERSION:
Tangram v0.21.1
ENVIRONMENT:
macOS Big Sur running Firefox 83.
TO REPRODUCE THE ISSUE, FOLLOW THESE STEPS:
Add an external font to my scene file like so:
RESULT:
Tangram v0.21.1 [error]: Scene.load() failed to load "scene.yaml": can't assign to property "url" on "external": not an object TypeError: can't assign to property "url" on "external": not an object
EXPECTED RESULT:
Per https://tangrams.readthedocs.io/en/master/Syntax-Reference/fonts/#external, it looks like external fonts are supported via this syntax. However, it looks like the current JS (
tangram/src/scene/scene_loader.js
Line 131 in 990d260
The text was updated successfully, but these errors were encountered: