mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Linux Fonts: Add extra default font path
This commit is contained in:
parent
b720b0f746
commit
6de457f932
1 changed files with 2 additions and 1 deletions
|
|
@ -23,7 +23,8 @@ static std::unique_ptr<XmlElement> findFontsConfFile()
|
|||
{
|
||||
static const char* pathsToSearch[] = { "/etc/fonts/fonts.conf",
|
||||
"/usr/share/fonts/fonts.conf",
|
||||
"/usr/local/etc/fonts/fonts.conf" };
|
||||
"/usr/local/etc/fonts/fonts.conf",
|
||||
"/usr/share/defaults/fonts/fonts.conf" };
|
||||
|
||||
for (auto* path : pathsToSearch)
|
||||
if (auto xml = parseXML (File (path)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue