Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
KODI::UTILS::FONT::FONTPATH Namespace Reference

Functions

std::string GetSystemFontPath (const std::string &filename)
 Provided a font filename returns the complete path for the font in the system font folder (if it exists) or an empty string otherwise.
 

Variables

constexpr const char * SYSTEM = "special://xbmc/media/Fonts/"
 
constexpr const char * USER = "special://home/media/Fonts/"
 
constexpr const char * TEMP = "special://temp/fonts/"
 

Function Documentation

◆ GetSystemFontPath()

std::string KODI::UTILS::FONT::FONTPATH::GetSystemFontPath ( const std::string & filename)

Provided a font filename returns the complete path for the font in the system font folder (if it exists) or an empty string otherwise.

Parameters
filenameThe font file name
Returns
The path for the font or an empty string if the path does not exist

Variable Documentation

◆ SYSTEM

const char* KODI::UTILS::FONT::FONTPATH::SYSTEM = "special://xbmc/media/Fonts/"
constexpr

◆ TEMP

const char* KODI::UTILS::FONT::FONTPATH::TEMP = "special://temp/fonts/"
constexpr

◆ USER

const char* KODI::UTILS::FONT::FONTPATH::USER = "special://home/media/Fonts/"
constexpr