function preloadFont({font, characters, sdfGlyphSize}, callback) {
  let text = Array.isArray(characters) ? characters.join('\n') : '' + characters
  getTextRenderInfo({ font, sdfGlyphSize, text }, callback)
}
Preload a given font and optionally pre-generate glyph SDFs for one or more character sequences.
This can be useful to avoid long pauses when first showing text in a scene, by preloading the
needed fonts and glyphs up front along with other assets.

@param {object} options
@param {string} options.font - URL of the font file to preload. If not given, the default font will
       be loaded.
@param {string|string[]} options.characters - One or more character sequences for which to pre-
       generate glyph SDFs. Note that this will honor ligature substitution, so you may need
       to specify ligature sequences in addition to their individual characters to get all
       possible glyphs, e.g. `["t", "h", "th"]` to get the "t" and "h" glyphs plus the "th" ligature.
@param {number} options.sdfGlyphSize - The size at which to prerender the SDF textures for the
       specified `characters`.
@param {function} callback - A function that will be called when the preloading is complete.