1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00
JUCE/modules/juce_graphics/fonts
attila 724221081b Change the value returned by Font::getAscentInPoints and getDescentInPoints
Prior to this commit the returned values were always normalised to the
value returned by getHeightInPoints().
I.e. getAscentInPoints() + getDescentInPoints() would always equal
getHeightInPoints(), even if ascent or descent overrides were in place.

With this change in place getAscentInPoints() + getDescentInPoints()
will always equal
getHeightInPoints() * (getAscentOverride() + getDescentOverride())

JUCE classes don't use this value for layout logic, so this commit
causes no visible changes in how JUCE draws text.
2025-05-13 18:32:01 +02:00
..
harfbuzz Upgrade to harfbuzz 10.1.0 2024-12-10 13:43:51 +01:00
juce_AttributedString.cpp LowLevelGraphicsContext: Replace glyph drawing functions with single drawGlyphs() 2024-04-18 14:16:01 +01:00
juce_AttributedString.h Font: Deprecate old Font constructors 2024-04-18 14:16:00 +01:00
juce_Font.cpp Change the value returned by Font::getAscentInPoints and getDescentInPoints 2025-05-13 18:32:01 +02:00
juce_Font.h Change the value returned by Font::getAscentInPoints and getDescentInPoints 2025-05-13 18:32:01 +02:00
juce_FontOptions.cpp Font: Allow overriding typeface ascent and descent metrics 2025-01-29 13:36:28 +00:00
juce_FontOptions.h Font: Allow overriding typeface ascent and descent metrics 2025-01-29 13:36:28 +00:00
juce_FunctionPointerDestructor.h Fix some Doxygen docstrings 2024-06-12 09:35:32 +01:00
juce_GlyphArrangement.cpp Fix addFittedText overflowing the bounds when line spacing and height multiple is non-default 2025-05-13 18:32:01 +02:00
juce_GlyphArrangement.h Fix addFittedText overflowing the bounds when line spacing and height multiple is non-default 2025-05-13 18:32:01 +02:00
juce_GlyphArrangementOptions.cpp Add GlyphArrangementOptions for addFittedText and drawFittedText 2025-05-09 13:39:11 +02:00
juce_GlyphArrangementOptions.h GlyphArrangementOptions: Add missing JUCE_API annotation 2025-05-13 18:32:01 +02:00
juce_LruCache.h Fix some Doxygen docstrings 2024-06-12 09:35:32 +01:00
juce_TextLayout.cpp ShapedText: Break ligatures into multiple iterable placeholder glyphs 2025-03-13 12:16:16 +01:00
juce_TextLayout.h TextLayout: Fix getStringBounds of empty strings 2024-10-24 19:40:42 +01:00
juce_Typeface.cpp Font: Allow overriding typeface ascent and descent metrics 2025-01-29 13:36:28 +00:00
juce_Typeface.h Font: Allow overriding typeface ascent and descent metrics 2025-01-29 13:36:28 +00:00
juce_TypefaceFileCache.h Singleton: Add new macros to simplify singleton creation 2024-10-16 10:36:52 +01:00
juce_TypefaceTestData.cpp Typeface: Implement platform typefaces using Harfbuzz hb_font_t 2024-04-17 14:41:00 +01:00