Happened to notice that several labels were missing and/or mis-positioned in the FontsDemo (JUCE 5.4.5). The “Scale” label and “Style” Label are missing:
Here is what it should look like:
Replace:
Label heightLabel { {}, "Height:" },
kerningLabel { {}, "Kerning:" },
scaleLabel { "Scale:" },
styleLabel { "Style" };
With:
Label heightLabel { {}, "Height:" },
kerningLabel { {}, "Kerning:" },
scaleLabel { {}, "Scale:" },
styleLabel { {}, "Style:" };
Replace:
styleBox.setBounds (r.removeFromBottom (26));
r.removeFromBottom (8);
int labelWidth = 60;
With:
int labelWidth = 60;
styleBox.setBounds (r.removeFromBottom (26).withTrimmedLeft (labelWidth));
r.removeFromBottom (8);