\hypertarget{group__Elm__Fonts}{}\doxysection{Elementary Fonts}
\label{group__Elm__Fonts}\index{Elementary Fonts@{Elementary Fonts}}


These are functions dealing with font rendering, selection and the like for Elementary applications.  


\doxysubsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{struct__Elm__Font__Properties}{\+\_\+\+Elm\+\_\+\+Font\+\_\+\+Properties}}
\end{DoxyCompactItemize}
\doxysubsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__Elm__Fonts_gab53bccf8ea5f80096d8427fe765f76d5}\label{group__Elm__Fonts_gab53bccf8ea5f80096d8427fe765f76d5}} 
typedef struct \mbox{\hyperlink{struct__Elm__Font__Properties}{\+\_\+\+Elm\+\_\+\+Font\+\_\+\+Properties}} {\bfseries Elm\+\_\+\+Font\+\_\+\+Properties}
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$ \mbox{\hyperlink{group__Elm__Fonts_ga27f4226f6d934cea32ebc38ffdc28bba}{elm\+\_\+config\+\_\+text\+\_\+classes\+\_\+list\+\_\+get}} (void)
\begin{DoxyCompactList}\small\item\em Get Elementary\textquotesingle{}s list of supported text classes. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__Fonts_ga7225e93618c0d8d5947bbe71bd7c0c02}{elm\+\_\+config\+\_\+text\+\_\+classes\+\_\+list\+\_\+free}} (\mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$list)
\begin{DoxyCompactList}\small\item\em Free Elementary\textquotesingle{}s list of supported text classes. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$ \mbox{\hyperlink{group__Elm__Fonts_ga2ac156c5c47e2c0797c1c2cb97ccfa73}{elm\+\_\+config\+\_\+font\+\_\+overlay\+\_\+list\+\_\+get}} (void)
\begin{DoxyCompactList}\small\item\em Get Elementary\textquotesingle{}s list of font overlays, set with \mbox{\hyperlink{group__Elm__Fonts_gaab7ca58acc063e1e699ca0a9f74a2a0a}{elm\+\_\+config\+\_\+font\+\_\+overlay\+\_\+set()}}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__Fonts_gaab7ca58acc063e1e699ca0a9f74a2a0a}{elm\+\_\+config\+\_\+font\+\_\+overlay\+\_\+set}} (const char $\ast$text\+\_\+class, const char $\ast$font, \mbox{\hyperlink{Evas__Common_8h_a331780d32a8c07afcc05e6a3193467f5}{Evas\+\_\+\+Font\+\_\+\+Size}} size)
\begin{DoxyCompactList}\small\item\em Set a font overlay for a given Elementary text class. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__Fonts_gac9fbf1dee7d76aa983a5bc25c21ca846}{elm\+\_\+config\+\_\+font\+\_\+overlay\+\_\+unset}} (const char $\ast$text\+\_\+class)
\begin{DoxyCompactList}\small\item\em Unset a font overlay for a given Elementary text class. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__Fonts_ga9133c2fe664b794451772f4080959638}{elm\+\_\+config\+\_\+font\+\_\+overlay\+\_\+apply}} (void)
\begin{DoxyCompactList}\small\item\em Apply the changes made with \mbox{\hyperlink{group__Elm__Fonts_gaab7ca58acc063e1e699ca0a9f74a2a0a}{elm\+\_\+config\+\_\+font\+\_\+overlay\+\_\+set()}} and \mbox{\hyperlink{group__Elm__Fonts_gac9fbf1dee7d76aa983a5bc25c21ca846}{elm\+\_\+config\+\_\+font\+\_\+overlay\+\_\+unset()}} on the current Elementary window. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__Fonts_ga6e9292c8c16c57de938ad1aabf2d7a03}{elm\+\_\+config\+\_\+font\+\_\+hint\+\_\+type\+\_\+set}} (int type)
\begin{DoxyCompactList}\small\item\em Apply the specified font hinting type. \end{DoxyCompactList}\item 
\mbox{\hyperlink{struct__Elm__Font__Properties}{Elm\+\_\+\+Font\+\_\+\+Properties}} $\ast$ \mbox{\hyperlink{group__Elm__Fonts_ga8b00cde22bed0d736b0164ee87fee9c4}{elm\+\_\+font\+\_\+properties\+\_\+get}} (const char $\ast$font)
\begin{DoxyCompactList}\small\item\em Translate a font (family) name string in fontconfig\textquotesingle{}s font names syntax into an {\ttfamily Elm\+\_\+\+Font\+\_\+\+Properties} struct. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__Fonts_gabec6a0557a47af3965c6f6f2269c3f08}{elm\+\_\+font\+\_\+properties\+\_\+free}} (\mbox{\hyperlink{struct__Elm__Font__Properties}{Elm\+\_\+\+Font\+\_\+\+Properties}} $\ast$efp)
\begin{DoxyCompactList}\small\item\em Free font properties return by \mbox{\hyperlink{group__Elm__Fonts_ga8b00cde22bed0d736b0164ee87fee9c4}{elm\+\_\+font\+\_\+properties\+\_\+get()}}. \end{DoxyCompactList}\item 
char $\ast$ \mbox{\hyperlink{group__Elm__Fonts_ga0f215c36848a16a69716c51eb0b87132}{elm\+\_\+font\+\_\+fontconfig\+\_\+name\+\_\+get}} (const char $\ast$name, const char $\ast$style)
\begin{DoxyCompactList}\small\item\em Translate a font name, bound to a style, into fontconfig\textquotesingle{}s font names syntax. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__Fonts_ga1b538ca2669bfa253f07f6e56117b443}{elm\+\_\+font\+\_\+fontconfig\+\_\+name\+\_\+free}} (char $\ast$name)
\begin{DoxyCompactList}\small\item\em Free the font string return by \mbox{\hyperlink{group__Elm__Fonts_ga0f215c36848a16a69716c51eb0b87132}{elm\+\_\+font\+\_\+fontconfig\+\_\+name\+\_\+get()}}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Hash__Group_ga9a89d7d3ee260d3a60572ebf651b07e0}{Eina\+\_\+\+Hash}} $\ast$ \mbox{\hyperlink{group__Elm__Fonts_gabc2f53bd7bda4ac2f780f43e9b5b9744}{elm\+\_\+font\+\_\+available\+\_\+hash\+\_\+add}} (\mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$list)
\begin{DoxyCompactList}\small\item\em Create a font hash table of available system fonts. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Elm__Fonts_gafecc23df30e5aa9c0daabba22588bace}{elm\+\_\+font\+\_\+available\+\_\+hash\+\_\+del}} (\mbox{\hyperlink{group__Eina__Hash__Group_ga9a89d7d3ee260d3a60572ebf651b07e0}{Eina\+\_\+\+Hash}} $\ast$hash)
\begin{DoxyCompactList}\small\item\em Free the hash returned by \mbox{\hyperlink{group__Elm__Fonts_gabc2f53bd7bda4ac2f780f43e9b5b9744}{elm\+\_\+font\+\_\+available\+\_\+hash\+\_\+add()}}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_gad5b2116495471db12a34bab9a34edfaa}{EINA\+\_\+\+DEPRECATED}} void \mbox{\hyperlink{group__Elm__Fonts_ga90391abc311c7c3fce5d22c354b68987}{elm\+\_\+font\+\_\+overlay\+\_\+all\+\_\+apply}} (void)
\begin{DoxyCompactList}\small\item\em Apply the changes made with elm\+\_\+font\+\_\+overlay\+\_\+set() and elm\+\_\+font\+\_\+overlay\+\_\+unset() on all Elementary application windows. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
These are functions dealing with font rendering, selection and the like for Elementary applications. 

One might fetch which system fonts are there to use and set custom fonts for individual classes of UI items containing text (text classes). 

\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__Elm__Fonts_ga27f4226f6d934cea32ebc38ffdc28bba}\label{group__Elm__Fonts_ga27f4226f6d934cea32ebc38ffdc28bba}} 
\index{Elementary Fonts@{Elementary Fonts}!elm\_config\_text\_classes\_list\_get@{elm\_config\_text\_classes\_list\_get}}
\index{elm\_config\_text\_classes\_list\_get@{elm\_config\_text\_classes\_list\_get}!Elementary Fonts@{Elementary Fonts}}
\doxysubsubsection{\texorpdfstring{elm\_config\_text\_classes\_list\_get()}{elm\_config\_text\_classes\_list\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$ elm\+\_\+config\+\_\+text\+\_\+classes\+\_\+list\+\_\+get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Get Elementary\textquotesingle{}s list of supported text classes. 

\begin{DoxyReturn}{Returns}
The text classes list, with {\ttfamily Elm\+\_\+\+Text\+\_\+\+Class} blobs as data.
\end{DoxyReturn}
Release the list with elm\+\_\+text\+\_\+classes\+\_\+list\+\_\+free(). \mbox{\Hypertarget{group__Elm__Fonts_ga7225e93618c0d8d5947bbe71bd7c0c02}\label{group__Elm__Fonts_ga7225e93618c0d8d5947bbe71bd7c0c02}} 
\index{Elementary Fonts@{Elementary Fonts}!elm\_config\_text\_classes\_list\_free@{elm\_config\_text\_classes\_list\_free}}
\index{elm\_config\_text\_classes\_list\_free@{elm\_config\_text\_classes\_list\_free}!Elementary Fonts@{Elementary Fonts}}
\doxysubsubsection{\texorpdfstring{elm\_config\_text\_classes\_list\_free()}{elm\_config\_text\_classes\_list\_free()}}
{\footnotesize\ttfamily void elm\+\_\+config\+\_\+text\+\_\+classes\+\_\+list\+\_\+free (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$}]{list }\end{DoxyParamCaption})}



Free Elementary\textquotesingle{}s list of supported text classes. 


\begin{DoxyParams}{Parameters}
{\em list} & The text classes list.\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Elm__Fonts_ga27f4226f6d934cea32ebc38ffdc28bba}{elm\+\_\+config\+\_\+text\+\_\+classes\+\_\+list\+\_\+get()}}. 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Elm__Fonts_ga2ac156c5c47e2c0797c1c2cb97ccfa73}\label{group__Elm__Fonts_ga2ac156c5c47e2c0797c1c2cb97ccfa73}} 
\index{Elementary Fonts@{Elementary Fonts}!elm\_config\_font\_overlay\_list\_get@{elm\_config\_font\_overlay\_list\_get}}
\index{elm\_config\_font\_overlay\_list\_get@{elm\_config\_font\_overlay\_list\_get}!Elementary Fonts@{Elementary Fonts}}
\doxysubsubsection{\texorpdfstring{elm\_config\_font\_overlay\_list\_get()}{elm\_config\_font\_overlay\_list\_get()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$ elm\+\_\+config\+\_\+font\+\_\+overlay\+\_\+list\+\_\+get (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Get Elementary\textquotesingle{}s list of font overlays, set with \mbox{\hyperlink{group__Elm__Fonts_gaab7ca58acc063e1e699ca0a9f74a2a0a}{elm\+\_\+config\+\_\+font\+\_\+overlay\+\_\+set()}}. 

\begin{DoxyReturn}{Returns}
The font overlays list, with {\ttfamily Elm\+\_\+\+Font\+\_\+\+Overlay} blobs as data.
\end{DoxyReturn}
For each text class, one can set a {\bfseries{font overlay}} for it, overriding the default font properties for that class coming from the theme in use. There is no need to free this list.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Elm__Fonts_gaab7ca58acc063e1e699ca0a9f74a2a0a}{elm\+\_\+config\+\_\+font\+\_\+overlay\+\_\+set()}} and \mbox{\hyperlink{group__Elm__Fonts_gac9fbf1dee7d76aa983a5bc25c21ca846}{elm\+\_\+config\+\_\+font\+\_\+overlay\+\_\+unset()}}. 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Elm__Fonts_gaab7ca58acc063e1e699ca0a9f74a2a0a}\label{group__Elm__Fonts_gaab7ca58acc063e1e699ca0a9f74a2a0a}} 
\index{Elementary Fonts@{Elementary Fonts}!elm\_config\_font\_overlay\_set@{elm\_config\_font\_overlay\_set}}
\index{elm\_config\_font\_overlay\_set@{elm\_config\_font\_overlay\_set}!Elementary Fonts@{Elementary Fonts}}
\doxysubsubsection{\texorpdfstring{elm\_config\_font\_overlay\_set()}{elm\_config\_font\_overlay\_set()}}
{\footnotesize\ttfamily void elm\+\_\+config\+\_\+font\+\_\+overlay\+\_\+set (\begin{DoxyParamCaption}\item[{const char $\ast$}]{text\+\_\+class,  }\item[{const char $\ast$}]{font,  }\item[{\mbox{\hyperlink{Evas__Common_8h_a331780d32a8c07afcc05e6a3193467f5}{Evas\+\_\+\+Font\+\_\+\+Size}}}]{size }\end{DoxyParamCaption})}



Set a font overlay for a given Elementary text class. 


\begin{DoxyParams}{Parameters}
{\em text\+\_\+class} & Text class name \\
\hline
{\em font} & Font name and style string \\
\hline
{\em size} & Font size.\\
\hline
\end{DoxyParams}
\begin{DoxyNote}{Note}
If the {\ttfamily size} is lower than zero, the value will be the amount of the size percentage. ex) -\/50\+: half of the current size, -\/100\+: current size, -\/10\+: 1/10 size.
\end{DoxyNote}
{\ttfamily font} has to be in the format returned by \mbox{\hyperlink{group__Elm__Fonts_ga0f215c36848a16a69716c51eb0b87132}{elm\+\_\+font\+\_\+fontconfig\+\_\+name\+\_\+get()}}. \begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Elm__Fonts_ga2ac156c5c47e2c0797c1c2cb97ccfa73}{elm\+\_\+config\+\_\+font\+\_\+overlay\+\_\+list\+\_\+get()}} 

\mbox{\hyperlink{group__Elm__Fonts_gac9fbf1dee7d76aa983a5bc25c21ca846}{elm\+\_\+config\+\_\+font\+\_\+overlay\+\_\+unset()}} 

\mbox{\hyperlink{group__Edje__Object__Text__Class_ga6213e6ba938896692cc89b56460473ac}{edje\+\_\+object\+\_\+text\+\_\+class\+\_\+set()}} 
\end{DoxySeeAlso}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga1ccf8538d0015b3801ff642e6156843a}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\mbox{\Hypertarget{group__Elm__Fonts_gac9fbf1dee7d76aa983a5bc25c21ca846}\label{group__Elm__Fonts_gac9fbf1dee7d76aa983a5bc25c21ca846}} 
\index{Elementary Fonts@{Elementary Fonts}!elm\_config\_font\_overlay\_unset@{elm\_config\_font\_overlay\_unset}}
\index{elm\_config\_font\_overlay\_unset@{elm\_config\_font\_overlay\_unset}!Elementary Fonts@{Elementary Fonts}}
\doxysubsubsection{\texorpdfstring{elm\_config\_font\_overlay\_unset()}{elm\_config\_font\_overlay\_unset()}}
{\footnotesize\ttfamily void elm\+\_\+config\+\_\+font\+\_\+overlay\+\_\+unset (\begin{DoxyParamCaption}\item[{const char $\ast$}]{text\+\_\+class }\end{DoxyParamCaption})}



Unset a font overlay for a given Elementary text class. 


\begin{DoxyParams}{Parameters}
{\em text\+\_\+class} & Text class name\\
\hline
\end{DoxyParams}
This will bring back text elements belonging to text class {\ttfamily text\+\_\+class} back to their default font settings. 

References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga1ccf8538d0015b3801ff642e6156843a}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\mbox{\Hypertarget{group__Elm__Fonts_ga9133c2fe664b794451772f4080959638}\label{group__Elm__Fonts_ga9133c2fe664b794451772f4080959638}} 
\index{Elementary Fonts@{Elementary Fonts}!elm\_config\_font\_overlay\_apply@{elm\_config\_font\_overlay\_apply}}
\index{elm\_config\_font\_overlay\_apply@{elm\_config\_font\_overlay\_apply}!Elementary Fonts@{Elementary Fonts}}
\doxysubsubsection{\texorpdfstring{elm\_config\_font\_overlay\_apply()}{elm\_config\_font\_overlay\_apply()}}
{\footnotesize\ttfamily void elm\+\_\+config\+\_\+font\+\_\+overlay\+\_\+apply (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Apply the changes made with \mbox{\hyperlink{group__Elm__Fonts_gaab7ca58acc063e1e699ca0a9f74a2a0a}{elm\+\_\+config\+\_\+font\+\_\+overlay\+\_\+set()}} and \mbox{\hyperlink{group__Elm__Fonts_gac9fbf1dee7d76aa983a5bc25c21ca846}{elm\+\_\+config\+\_\+font\+\_\+overlay\+\_\+unset()}} on the current Elementary window. 

This applies all font overlays set to all objects in the UI. \mbox{\Hypertarget{group__Elm__Fonts_ga6e9292c8c16c57de938ad1aabf2d7a03}\label{group__Elm__Fonts_ga6e9292c8c16c57de938ad1aabf2d7a03}} 
\index{Elementary Fonts@{Elementary Fonts}!elm\_config\_font\_hint\_type\_set@{elm\_config\_font\_hint\_type\_set}}
\index{elm\_config\_font\_hint\_type\_set@{elm\_config\_font\_hint\_type\_set}!Elementary Fonts@{Elementary Fonts}}
\doxysubsubsection{\texorpdfstring{elm\_config\_font\_hint\_type\_set()}{elm\_config\_font\_hint\_type\_set()}}
{\footnotesize\ttfamily void elm\+\_\+config\+\_\+font\+\_\+hint\+\_\+type\+\_\+set (\begin{DoxyParamCaption}\item[{int}]{type }\end{DoxyParamCaption})}



Apply the specified font hinting type. 

EVAS\+\_\+\+FONT\+\_\+\+HINTING\+\_\+\+NONE \texorpdfstring{$<$}{<} No font hinting EVAS\+\_\+\+FONT\+\_\+\+HINTING\+\_\+\+AUTO \texorpdfstring{$<$}{<} Automatic font hinting EVAS\+\_\+\+FONT\+\_\+\+HINTING\+\_\+\+BYTECODE \texorpdfstring{$<$}{<} Bytecode font hinting


\begin{DoxyParams}{Parameters}
{\em type} & The font hinting type\\
\hline
\end{DoxyParams}
This applies font hint changes to all windows of the current application.

\begin{DoxySince}{Since}
1.\+13 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__List__Group_gac6efafc19f526d916cdb9757240a8773}{EINA\+\_\+\+LIST\+\_\+\+FOREACH}}, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}, \mbox{\hyperlink{group__Evas__Font__Group_ggadb0596384c817a29f757d7ecb2f987d8ac056b6ea8f7ad771b406e217e34b8440}{EVAS\+\_\+\+FONT\+\_\+\+HINTING\+\_\+\+AUTO}}, \mbox{\hyperlink{group__Evas__Font__Group_ggadb0596384c817a29f757d7ecb2f987d8a4731c09040a5e13aee4242483cc5a61e}{EVAS\+\_\+\+FONT\+\_\+\+HINTING\+\_\+\+BYTECODE}}, \mbox{\hyperlink{group__Evas__Font__Group_ggadb0596384c817a29f757d7ecb2f987d8abe20aa1c68be79f42ccfda9bc930c338}{EVAS\+\_\+\+FONT\+\_\+\+HINTING\+\_\+\+NONE}}, \mbox{\hyperlink{group__Evas__Font__Group_ga004aa70b0f81501adf06ebfbbd95f9e7}{evas\+\_\+font\+\_\+hinting\+\_\+set()}}, and \mbox{\hyperlink{group__Evas__Object__Group_ga7e211219d11abced5f3089362f7476b9}{evas\+\_\+object\+\_\+evas\+\_\+get()}}.

\mbox{\Hypertarget{group__Elm__Fonts_ga8b00cde22bed0d736b0164ee87fee9c4}\label{group__Elm__Fonts_ga8b00cde22bed0d736b0164ee87fee9c4}} 
\index{Elementary Fonts@{Elementary Fonts}!elm\_font\_properties\_get@{elm\_font\_properties\_get}}
\index{elm\_font\_properties\_get@{elm\_font\_properties\_get}!Elementary Fonts@{Elementary Fonts}}
\doxysubsubsection{\texorpdfstring{elm\_font\_properties\_get()}{elm\_font\_properties\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{struct__Elm__Font__Properties}{Elm\+\_\+\+Font\+\_\+\+Properties}} $\ast$ elm\+\_\+font\+\_\+properties\+\_\+get (\begin{DoxyParamCaption}\item[{const char $\ast$}]{font }\end{DoxyParamCaption})}



Translate a font (family) name string in fontconfig\textquotesingle{}s font names syntax into an {\ttfamily Elm\+\_\+\+Font\+\_\+\+Properties} struct. 


\begin{DoxyParams}{Parameters}
{\em font} & The font name and styles string \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the font properties struct
\end{DoxyReturn}
\begin{DoxyNote}{Note}
The reverse translation can be achieved with \mbox{\hyperlink{group__Elm__Fonts_ga0f215c36848a16a69716c51eb0b87132}{elm\+\_\+font\+\_\+fontconfig\+\_\+name\+\_\+get()}}, for one style only (single font instance, not family). 
\end{DoxyNote}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}.

\mbox{\Hypertarget{group__Elm__Fonts_gabec6a0557a47af3965c6f6f2269c3f08}\label{group__Elm__Fonts_gabec6a0557a47af3965c6f6f2269c3f08}} 
\index{Elementary Fonts@{Elementary Fonts}!elm\_font\_properties\_free@{elm\_font\_properties\_free}}
\index{elm\_font\_properties\_free@{elm\_font\_properties\_free}!Elementary Fonts@{Elementary Fonts}}
\doxysubsubsection{\texorpdfstring{elm\_font\_properties\_free()}{elm\_font\_properties\_free()}}
{\footnotesize\ttfamily void elm\+\_\+font\+\_\+properties\+\_\+free (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct__Elm__Font__Properties}{Elm\+\_\+\+Font\+\_\+\+Properties}} $\ast$}]{efp }\end{DoxyParamCaption})}



Free font properties return by \mbox{\hyperlink{group__Elm__Fonts_ga8b00cde22bed0d736b0164ee87fee9c4}{elm\+\_\+font\+\_\+properties\+\_\+get()}}. 


\begin{DoxyParams}{Parameters}
{\em efp} & the font properties struct \\
\hline
\end{DoxyParams}


References \mbox{\hyperlink{group__Eina__List__Group_gae27a2c686a0a11693f9b06957c9bba83}{EINA\+\_\+\+LIST\+\_\+\+FREE}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga1ccf8538d0015b3801ff642e6156843a}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN}}, and \mbox{\hyperlink{group__Eina__Stringshare__Group_ga5538b4a134987b8a01744fad1a845ba4}{eina\+\_\+stringshare\+\_\+del()}}.

\mbox{\Hypertarget{group__Elm__Fonts_ga0f215c36848a16a69716c51eb0b87132}\label{group__Elm__Fonts_ga0f215c36848a16a69716c51eb0b87132}} 
\index{Elementary Fonts@{Elementary Fonts}!elm\_font\_fontconfig\_name\_get@{elm\_font\_fontconfig\_name\_get}}
\index{elm\_font\_fontconfig\_name\_get@{elm\_font\_fontconfig\_name\_get}!Elementary Fonts@{Elementary Fonts}}
\doxysubsubsection{\texorpdfstring{elm\_font\_fontconfig\_name\_get()}{elm\_font\_fontconfig\_name\_get()}}
{\footnotesize\ttfamily char $\ast$ elm\+\_\+font\+\_\+fontconfig\+\_\+name\+\_\+get (\begin{DoxyParamCaption}\item[{const char $\ast$}]{name,  }\item[{const char $\ast$}]{style }\end{DoxyParamCaption})}



Translate a font name, bound to a style, into fontconfig\textquotesingle{}s font names syntax. 


\begin{DoxyParams}{Parameters}
{\em name} & The font (family) name \\
\hline
{\em style} & The given style (may be {\ttfamily NULL})\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the font name and style string
\end{DoxyReturn}
\begin{DoxyNote}{Note}
The reverse translation can be achieved with \mbox{\hyperlink{group__Elm__Fonts_ga8b00cde22bed0d736b0164ee87fee9c4}{elm\+\_\+font\+\_\+properties\+\_\+get()}}, for one style only (single font instance, not family). 
\end{DoxyNote}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, and \mbox{\hyperlink{group__Eina__Stringshare__Group_ga4e3ce40744291c1fb8574e26883c0bf2}{eina\+\_\+stringshare\+\_\+add()}}.

\mbox{\Hypertarget{group__Elm__Fonts_ga1b538ca2669bfa253f07f6e56117b443}\label{group__Elm__Fonts_ga1b538ca2669bfa253f07f6e56117b443}} 
\index{Elementary Fonts@{Elementary Fonts}!elm\_font\_fontconfig\_name\_free@{elm\_font\_fontconfig\_name\_free}}
\index{elm\_font\_fontconfig\_name\_free@{elm\_font\_fontconfig\_name\_free}!Elementary Fonts@{Elementary Fonts}}
\doxysubsubsection{\texorpdfstring{elm\_font\_fontconfig\_name\_free()}{elm\_font\_fontconfig\_name\_free()}}
{\footnotesize\ttfamily void elm\+\_\+font\+\_\+fontconfig\+\_\+name\+\_\+free (\begin{DoxyParamCaption}\item[{char $\ast$}]{name }\end{DoxyParamCaption})}



Free the font string return by \mbox{\hyperlink{group__Elm__Fonts_ga0f215c36848a16a69716c51eb0b87132}{elm\+\_\+font\+\_\+fontconfig\+\_\+name\+\_\+get()}}. 


\begin{DoxyParams}{Parameters}
{\em name} & the font properties struct \\
\hline
\end{DoxyParams}


References \mbox{\hyperlink{group__Eina__Stringshare__Group_ga5538b4a134987b8a01744fad1a845ba4}{eina\+\_\+stringshare\+\_\+del()}}.

\mbox{\Hypertarget{group__Elm__Fonts_gabc2f53bd7bda4ac2f780f43e9b5b9744}\label{group__Elm__Fonts_gabc2f53bd7bda4ac2f780f43e9b5b9744}} 
\index{Elementary Fonts@{Elementary Fonts}!elm\_font\_available\_hash\_add@{elm\_font\_available\_hash\_add}}
\index{elm\_font\_available\_hash\_add@{elm\_font\_available\_hash\_add}!Elementary Fonts@{Elementary Fonts}}
\doxysubsubsection{\texorpdfstring{elm\_font\_available\_hash\_add()}{elm\_font\_available\_hash\_add()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Hash__Group_ga9a89d7d3ee260d3a60572ebf651b07e0}{Eina\+\_\+\+Hash}} $\ast$ elm\+\_\+font\+\_\+available\+\_\+hash\+\_\+add (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$}]{list }\end{DoxyParamCaption})}



Create a font hash table of available system fonts. 

One must call it with {\ttfamily list} being the return value of \mbox{\hyperlink{group__Evas__Canvas_gae9a6241d0d08bf8407bb3a414c66eaad}{evas\+\_\+font\+\_\+available\+\_\+list()}}. The hash will be indexed by font (family) names, being its values {\ttfamily Elm\+\_\+\+Font\+\_\+\+Properties} blobs.


\begin{DoxyParams}{Parameters}
{\em list} & The list of available system fonts, as returned by \mbox{\hyperlink{group__Evas__Canvas_gae9a6241d0d08bf8407bb3a414c66eaad}{evas\+\_\+font\+\_\+available\+\_\+list()}}. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the font hash.
\end{DoxyReturn}
\begin{DoxyNote}{Note}
The user is supposed to get it populated at least with 3 default font families (Sans, Serif, Monospace), which should be present on most systems. 
\end{DoxyNote}


References \mbox{\hyperlink{group__Eina__List__Group_gac6efafc19f526d916cdb9757240a8773}{EINA\+\_\+\+LIST\+\_\+\+FOREACH}}.

\mbox{\Hypertarget{group__Elm__Fonts_gafecc23df30e5aa9c0daabba22588bace}\label{group__Elm__Fonts_gafecc23df30e5aa9c0daabba22588bace}} 
\index{Elementary Fonts@{Elementary Fonts}!elm\_font\_available\_hash\_del@{elm\_font\_available\_hash\_del}}
\index{elm\_font\_available\_hash\_del@{elm\_font\_available\_hash\_del}!Elementary Fonts@{Elementary Fonts}}
\doxysubsubsection{\texorpdfstring{elm\_font\_available\_hash\_del()}{elm\_font\_available\_hash\_del()}}
{\footnotesize\ttfamily void elm\+\_\+font\+\_\+available\+\_\+hash\+\_\+del (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Hash__Group_ga9a89d7d3ee260d3a60572ebf651b07e0}{Eina\+\_\+\+Hash}} $\ast$}]{hash }\end{DoxyParamCaption})}



Free the hash returned by \mbox{\hyperlink{group__Elm__Fonts_gabc2f53bd7bda4ac2f780f43e9b5b9744}{elm\+\_\+font\+\_\+available\+\_\+hash\+\_\+add()}}. 


\begin{DoxyParams}{Parameters}
{\em hash} & the hash to be freed. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Elm__Fonts_ga90391abc311c7c3fce5d22c354b68987}\label{group__Elm__Fonts_ga90391abc311c7c3fce5d22c354b68987}} 
\index{Elementary Fonts@{Elementary Fonts}!elm\_font\_overlay\_all\_apply@{elm\_font\_overlay\_all\_apply}}
\index{elm\_font\_overlay\_all\_apply@{elm\_font\_overlay\_all\_apply}!Elementary Fonts@{Elementary Fonts}}
\doxysubsubsection{\texorpdfstring{elm\_font\_overlay\_all\_apply()}{elm\_font\_overlay\_all\_apply()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_gad5b2116495471db12a34bab9a34edfaa}{EINA\+\_\+\+DEPRECATED}} void elm\+\_\+font\+\_\+overlay\+\_\+all\+\_\+apply (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Apply the changes made with elm\+\_\+font\+\_\+overlay\+\_\+set() and elm\+\_\+font\+\_\+overlay\+\_\+unset() on all Elementary application windows. 

This applies all font overlays set to all objects in the UI. \begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000200}{Deprecated}}]Use elm\+\_\+font\+\_\+overlay\+\_\+apply and \mbox{\hyperlink{group__Elm__Config_ga2906ee30d3976ab4917b3287eecdd526}{elm\+\_\+config\+\_\+all\+\_\+flush()}} \end{DoxyRefDesc}
