mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-11 23:54:18 +00:00
This fixes an issue with the text wrapping logic for text chunks ending in a whitespace. When trying to fit a text chunk, the logic works with two values: width with trailing whitespace, and width without trailing whitespace. When the trailingWhitespacesShouldFit option is false, the logic checks if "withoutTrailingWhitespace" can still fit inside the remaining width. Prior to this fix, it then decremented the remaining width with "withoutTrailingWhitespace", but it should have used "withTrailingWhitespace" for the decrement operation, always, regardless of the value of the withTrailingWhitespacesShouldFit option. This mistake only caused an observable issue when multiple fonts were used for the shaping operation, and a different font would be used immediately after a whitespace falling at the end of a line. |
||
|---|---|---|
| .. | ||
| juce_analytics | ||
| juce_animation | ||
| juce_audio_basics | ||
| juce_audio_devices | ||
| juce_audio_formats | ||
| juce_audio_plugin_client | ||
| juce_audio_processors | ||
| juce_audio_utils | ||
| juce_box2d | ||
| juce_core | ||
| juce_cryptography | ||
| juce_data_structures | ||
| juce_dsp | ||
| juce_events | ||
| juce_graphics | ||
| juce_gui_basics | ||
| juce_gui_extra | ||
| juce_midi_ci | ||
| juce_opengl | ||
| juce_osc | ||
| juce_product_unlocking | ||
| juce_video | ||
| CMakeLists.txt | ||