1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-21 01:24:21 +00:00
JUCE/modules/juce_graphics
reuk d69dee0f5b
Font: Return correct result from getStringWidth after setting size in points
Previously, code such as the following would return a smaller string
width for larger tracking values:

    juce::Font f { juce::FontOptions{}.withPointHeight (16.0f) };
    const auto g = f.withExtraKerningFactor (1.0f);

    const auto a = f.getStringWidth ("foobar");
    const auto b = g.getStringWidth ("foobar");

With this change applied, the width 'b' is greater than the width 'a',
as expected.
2024-06-11 11:34:04 +01:00
..
colour ColourGradient: Fix assertion in ColourGradient::remove 2024-05-08 17:53:52 +01:00
contexts Direct2D: Add initial support 2024-04-18 14:16:02 +01:00
detail Add new Range related types that help working with attributed text 2024-04-18 14:16:01 +01:00
effects D2D: Add faster two-pass blur implementation 2024-04-29 16:08:24 +01:00
fonts Font: Return correct result from getStringWidth after setting size in points 2024-06-11 11:34:04 +01:00
geometry CoreGraphics: Slightly shrink excluded clip regions in order to draw transformed opaque components without border artefacts 2024-05-20 12:49:55 +01:00
image_formats Update licensing information 2024-04-16 11:39:35 +01:00
images D2D: Add faster two-pass blur implementation 2024-04-29 16:08:24 +01:00
native Direct2D: Fix flickery resizing when using an internal resizer 2024-05-31 11:43:30 +01:00
placement Update licensing information 2024-04-16 11:39:35 +01:00
unicode Unicode: Ignore punctuation when resolving implicit characters 2024-05-23 12:54:13 +01:00
juce_graphics.cpp Unicode: Perform major refactor 2024-05-23 12:54:13 +01:00
juce_graphics.h Direct2D: Add initial support 2024-04-18 14:16:02 +01:00
juce_graphics.mm Update licensing information 2024-04-16 11:39:35 +01:00
juce_graphics_Harfbuzz.cpp Add Harfbuzz dependency 2024-04-17 14:41:00 +01:00