\hypertarget{group__Elm__Fonts}{}\section{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.  


\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{struct__Elm__Font__Properties}{\+\_\+\+Elm\+\_\+\+Font\+\_\+\+Properties}}
\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__Elm__Fonts_ga6ed9d154ed55ddc3c895bb44ebf761aa}\label{group__Elm__Fonts_ga6ed9d154ed55ddc3c895bb44ebf761aa}} 
typedef struct \mbox{\hyperlink{struct__Elm__Font__Properties}{\+\_\+\+Elm\+\_\+\+Font\+\_\+\+Properties}} {\bfseries Elm\+\_\+\+Font\+\_\+\+Properties}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$ \mbox{\hyperlink{group__Elm__Fonts_ga84c91af6c80d3a95a5600e4f34ee60c3}{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_ga41a8c9dea0ed2a96d78916aa29eb7aff}{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_gaf6e0e227201a26697a2680865061ced5}{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_gaf6e0e227201a26697a2680865061ced5}{elm\+\_\+font\+\_\+properties\+\_\+get()}}. \end{DoxyCompactList}\item 
char $\ast$ \mbox{\hyperlink{group__Elm__Fonts_gaa2aef75926516f184b737d567a5a9420}{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_gaa2aef75926516f184b737d567a5a9420}{elm\+\_\+font\+\_\+fontconfig\+\_\+name\+\_\+get()}}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Hash__Group_ga9a89d7d3ee260d3a60572ebf651b07e0}{Eina\+\_\+\+Hash}} $\ast$ \mbox{\hyperlink{group__Elm__Fonts_gab7664f78372fa1954ad360931b4c888c}{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_gab7664f78372fa1954ad360931b4c888c}{elm\+\_\+font\+\_\+available\+\_\+hash\+\_\+add()}}. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{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). 

\subsection{Function Documentation}
\mbox{\Hypertarget{group__Elm__Fonts_ga84c91af6c80d3a95a5600e4f34ee60c3}\label{group__Elm__Fonts_ga84c91af6c80d3a95a5600e4f34ee60c3}} 
\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}}
\subsubsection{\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}}
\subsubsection{\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_ga84c91af6c80d3a95a5600e4f34ee60c3}{elm\+\_\+config\+\_\+text\+\_\+classes\+\_\+list\+\_\+get()}}. 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Elm__Fonts_ga41a8c9dea0ed2a96d78916aa29eb7aff}\label{group__Elm__Fonts_ga41a8c9dea0ed2a96d78916aa29eb7aff}} 
\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}}
\subsubsection{\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}}
\subsubsection{\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_gaa2aef75926516f184b737d567a5a9420}{elm\+\_\+font\+\_\+fontconfig\+\_\+name\+\_\+get()}}. \begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Elm__Fonts_ga41a8c9dea0ed2a96d78916aa29eb7aff}{elm\+\_\+config\+\_\+font\+\_\+overlay\+\_\+list\+\_\+get()}} 

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

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


References E\+I\+N\+A\+\_\+\+T\+R\+UE.

\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}}
\subsubsection{\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 E\+I\+N\+A\+\_\+\+T\+R\+UE.

\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}}
\subsubsection{\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}}
\subsubsection{\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. 

E\+V\+A\+S\+\_\+\+F\+O\+N\+T\+\_\+\+H\+I\+N\+T\+I\+N\+G\+\_\+\+N\+O\+NE $<$ No font hinting E\+V\+A\+S\+\_\+\+F\+O\+N\+T\+\_\+\+H\+I\+N\+T\+I\+N\+G\+\_\+\+A\+U\+TO $<$ Automatic font hinting E\+V\+A\+S\+\_\+\+F\+O\+N\+T\+\_\+\+H\+I\+N\+T\+I\+N\+G\+\_\+\+B\+Y\+T\+E\+C\+O\+DE $<$ 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 E\+I\+N\+A\+\_\+\+L\+I\+S\+T\+\_\+\+F\+O\+R\+E\+A\+CH, E\+I\+N\+A\+\_\+\+T\+R\+UE, and evas\+\_\+font\+\_\+hinting\+\_\+set().

\mbox{\Hypertarget{group__Elm__Fonts_gaf6e0e227201a26697a2680865061ced5}\label{group__Elm__Fonts_gaf6e0e227201a26697a2680865061ced5}} 
\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}}
\subsubsection{\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_gaa2aef75926516f184b737d567a5a9420}{elm\+\_\+font\+\_\+fontconfig\+\_\+name\+\_\+get()}}, for one style only (single font instance, not family). 
\end{DoxyNote}
\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}}
\subsubsection{\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_gaf6e0e227201a26697a2680865061ced5}{elm\+\_\+font\+\_\+properties\+\_\+get()}}. 


\begin{DoxyParams}{Parameters}
{\em efp} & the font properties struct \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Elm__Fonts_gaa2aef75926516f184b737d567a5a9420}\label{group__Elm__Fonts_gaa2aef75926516f184b737d567a5a9420}} 
\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}}
\subsubsection{\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 N\+U\+LL})\\
\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_gaf6e0e227201a26697a2680865061ced5}{elm\+\_\+font\+\_\+properties\+\_\+get()}}, for one style only (single font instance, not family). 
\end{DoxyNote}
\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}}
\subsubsection{\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_gaa2aef75926516f184b737d567a5a9420}{elm\+\_\+font\+\_\+fontconfig\+\_\+name\+\_\+get()}}. 


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


References eina\+\_\+stringshare\+\_\+del().

\mbox{\Hypertarget{group__Elm__Fonts_gab7664f78372fa1954ad360931b4c888c}\label{group__Elm__Fonts_gab7664f78372fa1954ad360931b4c888c}} 
\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}}
\subsubsection{\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_ga8ccfb26fa5aa56ccec5d45dace52344a}{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_ga8ccfb26fa5aa56ccec5d45dace52344a}{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 E\+I\+N\+A\+\_\+\+L\+I\+S\+T\+\_\+\+F\+O\+R\+E\+A\+CH.

\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}}
\subsubsection{\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_gab7664f78372fa1954ad360931b4c888c}{elm\+\_\+font\+\_\+available\+\_\+hash\+\_\+add()}}. 


\begin{DoxyParams}{Parameters}
{\em hash} & the hash to be freed. \\
\hline
\end{DoxyParams}
