Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
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 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

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

◆ TEMP

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

◆ USER

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