Skip to main content

core.smuflFontSources

since 1.6.0
core.smuflFontSourcesJavaScriptsmuflFontSourcesJavaScriptcore.smuflFontSourcesJSONsmuflFontSourcesJSON

Description​

Defines the URLs from which to load the SMuFL compliant font files. These sources will be used to load and register the webfonts on the page so they are available for rendering the music sheet. The sources can be set to any CSS compatible URL which can be passed into url(). See https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/src#url

smuflFontSources: Map<FontFileFormat, string> | null = Bravura files located at <code style={{"color":"#393A34","backgroundColor":"#f6f8fa"}}><Link style={{"color":"#36acaa"}} to={"/docs/reference/settings/core/fontdirectory"}>{"fontDirectory"}</Link></code> .;