Skip to main content

core.fontDirectory

since 0.9.6

Description​

AlphaTab will generate some dynamic CSS that is needed for displaying the music symbols correctly. For this it needs to know where the Web Font files of Bravura are. Normally alphaTab expects them to be in a Font subfolder beside the script file. If this is not the case, this setting must be used to configure the path. Alternatively also a global variable ALPHATAB_FONT can be set on the page before initializing alphaTab.

core.fontDirectoryJavaScript
fontDirectoryJavaScript
core.fontDirectoryJSON
fontDirectoryJSON
data-core-fontdirectoryHTML
data-fontdirectoryHTML

Types​

stringAll

Default Value​

${AlphaTabScriptFolder}/Font/