Tangram will identify the externally-loaded typeface by name and make it available for use in text labels.

font face definition

A font face definition may be used as the value of the font definition. This is an object with a number of possible parameters:

weight: defaults to normal, may also be bold or a numeric font weight, e.g. 500

style: defaults to normal, may also be italic

url: the URL to load the font from. For maximum browser compatibility, fonts should be either ttf, otf, or woff (woff2 is currently supported in Chrome and Firefox but not other major browsers). As with other scene resources, url is relative to the scene file.

When font definitions are declared in this way, the fonts from the associated urls will be used when the appropriate combination of font-family, style, and weight parameters are specified in a style’s font block: