Skip to main content

Function: rebaseFontAsset()

function rebaseFontAsset(asset, base): FontAsset;

Defined in: fonts.ts:97

Moves a font asset's web sources under a different base path, for a host that serves its static files from somewhere other than rasd-fonts/. native names are untouched — they are registry keys, not paths.

Parameters

ParameterType
assetFontAsset
basestring

Returns

FontAsset