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
reuk 50dacbc8fc Mac Fonts: Fix rendering of AttributedStrings with empty ranges
Previously, lifetime management of CTFontRefs was not implemented
correctly. For zero-length ranges, the font may not be retained when
applying it to a CFAttributedString, meaning that the reference stored
in the fontMap sometimes became invalid before
createCFAttributedString() returned.

We now retain font refs when adding them to the font map, and release
them when the map is destroyed, ensuring that the font references remain
valid throughout the lifetime of the map.
2022-02-07 14:24:11 +00:00
..
colour Fix invalid usage of JUCE_NODISCARD 2022-01-29 13:49:36 -08:00
contexts GraphicsContext: Fix unused variable warning 2021-12-01 15:44:07 +00:00
effects Clang: Fix warnings when building with clang 10 2020-07-01 10:00:43 +01:00
fonts GlyphArrangement: Avoid breaking on non-breaking spaces 2022-01-28 16:09:59 +00:00
geometry Nodiscard: Add to builder-pattern functions 2022-01-27 18:43:21 +00:00
image_formats Fixed some warnings flagged by Clang's static analyzer 2021-07-19 15:48:31 +01:00
images Fix some typos 2022-01-25 11:48:46 +00:00
native Mac Fonts: Fix rendering of AttributedStrings with empty ranges 2022-02-07 14:24:11 +00:00
placement Updated all license headers 2020-06-29 08:30:22 +01:00
juce_graphics.cpp MinGW: Improve compatibility 2022-01-17 10:58:18 +00:00
juce_graphics.h Bump version number to 6.1.5 2022-01-26 13:00:05 +00:00
juce_graphics.mm Updated all license headers 2020-06-29 08:30:22 +01:00