# juce\_linux\_Fonts.cpp update to fix fonts path in Clear Linux

**URL:** <https://forum.juce.com/t/juce-linux-fonts-cpp-update-to-fix-fonts-path-in-clear-linux/50761>\
**Category:** Linux\
**Created:** [March 28, 2022, 12:17pm UTC](https://forum.juce.com/t/juce-linux-fonts-cpp-update-to-fix-fonts-path-in-clear-linux/50761 "2022-03-28T12:17:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamesfrederik2022](https://avatars.discourse-cdn.com/v4/letter/j/f1d935/32.png) [@jamesfrederik2022](https://forum.juce.com/u/jamesfrederik2022)\
**Post date:** [March 28, 2022, 12:17pm UTC](https://forum.juce.com/t/juce-linux-fonts-cpp-update-to-fix-fonts-path-in-clear-linux/50761/1 "2022-03-28T12:17:09Z")

</div>

Fix is here

[https://github.com/juce-framework/JUCE/compare/master...JamesFrederik:patch-2](https://github.com/juce-framework/JUCE/compare/master...JamesFrederik:patch-2)

adding “/usr/share/defaults/fonts/fonts.conf”

to the paths searched.

same as this bug

> [@No fonts available on Intel Clear Linux](https://forum.juce.com/t/no-fonts-available-on-intel-clear-linux/41019):
>
> Hi, On Intel Clear Linux (freshly installed), juce applications can’t find any default font. The issue seems to be that JUCE can’t locate the fonts.conf file. Adding /usr/share/defaults/fonts/fonts.conf in the search path fixes the issue: static std::unique\_ptr\<XmlElement\> findFontsConfFile() { static const char\* pathsToSearch[] = { "/etc/fonts/fonts.conf", "/usr/share/fonts/fonts.conf", "/usr/share/defa…

---

<div class="post-metadata">

**Author:** ![t0m](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/t0m/32/16413_2.png) [@t0m](https://forum.juce.com/u/t0m)\
**Post date:** [March 29, 2022, 8:02am UTC](https://forum.juce.com/t/juce-linux-fonts-cpp-update-to-fix-fonts-path-in-clear-linux/50761/2 "2022-03-29T08:02:18Z")

</div>

Could you please sign the CLA?

> **[Update juce\_linux\_Fonts.cpp · juce-framework/JUCE@fa57b99](https://github.com/juce-framework/JUCE/runs/5723810728?check_suite_focus=true)**
>
> JUCE is an open-source cross-platform C++ application framework for desktop and mobile applications, including VST, VST3, AU, AUv3, RTAS and AAX audio plug-ins. - Update juce\_linux\_Fonts.cpp · juce...

[https://cla.juce.com](https://cla.juce.com/)
