
#######################
A3DPDFDocumentEmbedFont
#######################

.. c:function:: A3DStatus A3DPDFDocumentEmbedFont(const A3DPDFDocument *pDoc, const A3DUTF8Char *pcFontName, const char *pcEncodingName, A3DPDFELanguage eLanguage)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DPDFDocumentEmbedFont(*const* :c:type:`~A3DPDFDocument`\ * **pDoc**\ , *const* :c:type:`~A3DUTF8Char`\ * **pcFontName**\ , *const* *char* **pcEncodingName**\ , :c:enum:`~A3DPDFELanguage` **eLanguage**\ )
   
   Function to embed a font in a PDF document. 
   
   The font must be embedded before using it in the document. The document must contain at least one page before calling this function.
   
   **Parameters**
   
   
      **pDoc**\ : The document in which the font will be embedded. 
   
      **pcFontName**\ : The name of the font 
   
      **pcEncodingName**\ : The encoding of the font 
   
      **eLanguage**\ : The language of the font
   
   
   **Returns**
   
   
      A3D_SUCCESS in case of success or an error code
   
   




