get_custom_glyph_code#

omni.ui.get_custom_glyph_code(
file_path: str,
font_style: omni.ui._ui.FontStyle = <FontStyle.NORMAL: 1>,
) str#

Get glyph code.

Parameters:
  • file_path (str) – Path to svg file

  • font_style (FontStyle) – font style to use.