forked from organicmaps/organicmaps
[linux] separate directory for fonts on linux
This commit is contained in:
parent
051d25e260
commit
8f15d95bb7
1 changed files with 4 additions and 0 deletions
|
@ -71,6 +71,10 @@ void Platform::GetFontNames(FilesList & res) const
|
|||
arrPaths[n++] = &m_extResFiles[i];
|
||||
#else
|
||||
arrPaths[n++] = &m_resourcesDir;
|
||||
#ifdef OMIM_OS_LINUX
|
||||
string packagedFontsPath = "/usr/share/fonts/truetype/mapswithme/";
|
||||
arrPaths[n++] = &packagedFontsPath;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
FilesList fonts;
|
||||
|
|
Loading…
Add table
Reference in a new issue