.. _group__a3d__fonts:

#####
Fonts
#####

When creating a markup tessellation that uses specific fonts, store fonts with font keys (:c:struct:`~A3DFontKeyData`\ ) by invoking the :c:func:`~A3DGlobalFontKeyCreate`\ function.

When parsing a markup tessellation that uses specific fonts, use the :c:func:`~A3DGlobalFontKeyGet`\ function to obtain fonts information from font keys (:c:struct:`~A3DFontKeyData`\ ).


   :ref:`Tessellation for Markups <group__a3d__tessmarkup>`


**Returns**


   ``A3D_SUCCESS``\ on success, or an error code on failure


.. rst-class:: kind-group kind-record

.. rubric:: Structures
   :class: kind-group-title


.. rst-class:: api-xref-list


* :c:struct:`~A3DFontKeyData`
* :c:struct:`~A3DFontData`

.. rst-class:: kind-group kind-enumeration

.. rubric:: Enumerations
   :class: kind-group-title


.. rst-class:: api-xref-list


* :c:enum:`~A3DECharSet`

.. rst-class:: kind-group kind-function

.. rubric:: Functions
   :class: kind-group-title


.. rst-class:: api-xref-list


* :c:func:`~A3DGlobalFontKeyGet`
* :c:func:`~A3DGlobalFontTextBoxGet`
* :c:func:`~A3DGlobalFontTextBoxAndScaleGet`
* :c:func:`~A3DGlobalFontKeyCreate`
* :c:func:`~A3DGlobalFontTextTessellationGet`

.. toctree::
   :maxdepth: 1
   :hidden:

   ../structures/A3DFontKeyData
   ../structures/A3DFontData
   ../enums/A3DECharSet
   ../functions/A3DGlobalFontKeyGet
   ../functions/A3DGlobalFontTextBoxGet
   ../functions/A3DGlobalFontTextBoxAndScaleGet
   ../functions/A3DGlobalFontKeyCreate
   ../functions/A3DGlobalFontTextTessellationGet


