core.smuflFontSources
core.smuflFontSourcesJavaScript
smuflFontSourcesJavaScript
core.smuflFontSourcesJSON
smuflFontSourcesJSON
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
If you customize the SmuFL font used in alphaTab, you will also need to provide
the respective SMuFL Metadata information to alphaTab.
Set the metadata via fillFromSmufl
on the rendering resources.
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> .;