Missing test in Font::SharedFontInternal::operator== ?

I don’t know if the ascent member test is really missing, but just in case:

[quote]— modules/juce_graphics/fonts/juce_Font.cpp (revision 118)
+++ modules/juce_graphics/fonts/juce_Font.cpp (working copy)
@@ -233,6 +233,7 @@
&& underline == other.underline
&& horizontalScale == other.horizontalScale
&& kerning == other.kerning

  •            && ascent == other.ascent
               && typefaceName == other.typefaceName
               && typefaceStyle == other.typefaceStyle;
    
    }[/quote]

all the best

Thanks, but no - the ascent is proportional to the height, so no need to compare it.