Register the font 'STIX Two Math', shipped with 'gdtools', so that it can be found by name with the 'systemfonts' package: by functions measuring or drawing equations (such as the 'equatags' package) and by graphic devices using 'systemfonts' ('ragg', 'svglite', 'ggiraph').
'STIX Two Math' is an OpenType math font: it has a 'MATH' table giving the parameters used to lay out equations, and size variants of operators and delimiters.
Nothing is done when a font is already found under name, for example
when 'STIX Two Math' is installed on the system (it is on macOS).
License
'STIX Two Math' (version 2.13 b171) is copyright The STIX Fonts Project
Authors and licensed under the SIL Open Font License 1.1, see
system.file("fonts", "stix", "OFL.txt", package = "gdtools") and the
file COPYRIGHTS of the package.
See also
Other functions for font management:
addGFontHtmlDependency(),
fonts_cache_dir(),
gfontHtmlDependency(),
install_gfont_script(),
installed_gfonts(),
liberationmonoHtmlDependency(),
liberationsansHtmlDependency(),
liberationserifHtmlDependency(),
register_gfont(),
register_liberationmono(),
register_liberationsans(),
register_liberationserif(),
stixmath_file(),
sys_fonts_reset()