# Bold font only works on labels

**URL:** <https://forum.cabbageaudio.com/t/bold-font-only-works-on-labels/4325>\
**Category:** Cabbage slugs\
**Created:** [17 April 2024 15:56 UTC](https://forum.cabbageaudio.com/t/bold-font-only-works-on-labels/4325 "2024-04-17T15:56:23Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![henlo\_birb](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/henlo_birb/32/5556_2.png) [@henlo\_birb](https://forum.cabbageaudio.com/u/henlo_birb)\
**Post date:** [17 April 2024 15:56 UTC](https://forum.cabbageaudio.com/t/bold-font-only-works-on-labels/4325/1 "2024-04-17T15:56:23Z")

</div>

![image](https://forum.cabbageaudio.com/uploads/default/original/2X/2/2893dcb2ea297833f688efa593af41895772ba36.png)

I’m trying to use courier new bold, and it’s only correctly rendering the font in label widgets, on everything else it just does the default font but bold. I’m running version 2.9.218, had the same issue on the stable release before though. I tried a few other courier bold type fonts from different sources and different courier variants so it’s got something to do with the boldness. With regular it works fine like you would expect.

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [17 April 2024 18:10 UTC](https://forum.cabbageaudio.com/t/bold-font-only-works-on-labels/4325/2 "2024-04-17T18:10:14Z")

</div>

Hi @henlo_birb, welcome to the forum. Can you share the font file with me so I can test it here?

---

<div class="post-metadata">

**Author:** ![henlo\_birb](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/henlo_birb/32/5556_2.png) [@henlo\_birb](https://forum.cabbageaudio.com/u/henlo_birb)\
**Post date:** [17 April 2024 19:54 UTC](https://forum.cabbageaudio.com/t/bold-font-only-works-on-labels/4325/3 "2024-04-17T19:54:44Z")

</div>

[courier\_bolds.zip](https://forum.cabbageaudio.com/uploads/short-url/67emWg9X9kSBdD7gLJRV2QD9kQq.zip) (619.9 KB)

heres 3 different ones

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [18 April 2024 09:56 UTC](https://forum.cabbageaudio.com/t/bold-font-only-works-on-labels/4325/4 "2024-04-18T09:56:12Z")

</div>

With the latest version:

 ![image](https://forum.cabbageaudio.com/uploads/default/original/2X/5/58024d66274d7e9ada3ba1d358d5680d115f8570.png)  
Can you send me your .csd file? You can send it via PM if you don’t want to share it publically.

---

<div class="post-metadata">

**Author:** ![henlo\_birb](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/henlo_birb/32/5556_2.png) [@henlo\_birb](https://forum.cabbageaudio.com/u/henlo_birb)\
**Post date:** [18 April 2024 13:34 UTC](https://forum.cabbageaudio.com/t/bold-font-only-works-on-labels/4325/5 "2024-04-18T13:34:56Z")

</div>

[breakchop.csd](https://forum.cabbageaudio.com/uploads/short-url/aMCMBp6Gw1K0bLJS3PqROblSaJ4.csd) (9.2 KB)

plz dont judge my bad code ;-;

although I doubt it’s an issue with my code, it might be a platform specific thing? I’m running hyprland on fedora

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [18 April 2024 14:07 UTC](https://forum.cabbageaudio.com/t/bold-font-only-works-on-labels/4325/6 "2024-04-18T14:07:31Z")

</div>

Looks like a system issue as it works here on my Mac. I will test on Linux next week when I get back to my Linux machine.

---

<div class="post-metadata">

**Author:** ![henlo\_birb](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/henlo_birb/32/5556_2.png) [@henlo\_birb](https://forum.cabbageaudio.com/u/henlo_birb)\
**Post date:** [18 April 2024 14:48 UTC](https://forum.cabbageaudio.com/t/bold-font-only-works-on-labels/4325/7 "2024-04-18T14:48:07Z")

</div>

I just checked I have the same issue in Gnome on both wayland and xorg, so it’s not a hyprland specific issue at least.

---

<div class="post-metadata">

**Author:** ![henlo\_birb](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/henlo_birb/32/5556_2.png) [@henlo\_birb](https://forum.cabbageaudio.com/u/henlo_birb)\
**Post date:** [16 May 2024 14:36 UTC](https://forum.cabbageaudio.com/t/bold-font-only-works-on-labels/4325/8 "2024-05-16T14:36:35Z")

</div>

any updates?

---

<div class="post-metadata">

**Author:** ![henlo\_birb](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/henlo_birb/32/5556_2.png) [@henlo\_birb](https://forum.cabbageaudio.com/u/henlo_birb)\
**Post date:** [16 May 2024 15:37 UTC](https://forum.cabbageaudio.com/t/bold-font-only-works-on-labels/4325/9 "2024-05-16T15:37:09Z")

</div>

i did some experimenting, if I use a regular width font, it shows up on all the buttons but won’t show on the label unless i set the font style to plain (which makes sense since bold is the default). There’s no option to set the font style on anything else though, so I can’t check if that would fix it for the buttons and knobs and stuff. I’m guessing that on linux, JUCE (or whatever JUCE is using to load/render fonts) gets mad if the requested font style doesn’t match the font’s metadata.

at the very least I can open up the font in FontForge and edit the metadata so it says it’s regular weight

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [16 May 2024 18:29 UTC](https://forum.cabbageaudio.com/t/bold-font-only-works-on-labels/4325/10 "2024-05-16T18:29:47Z")

</div>

> [@henlo\_birb](#):
>
> I’m guessing that on linux, JUCE (or whatever JUCE is using to load/render fonts) gets mad if the requested font style doesn’t match the font’s metadata.

I’m in the middle of an extremely busy period of exam corrections and assessments, hence the delay in getting back to you. Your appraisal of the problems appears to be correct, although I’m not sure exactly why this is 🤔 I’m glad you found a workaround until I can find time to look into it.
