1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-16 00:34:19 +00:00
JUCE/modules/juce_graphics/native
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
..
juce_android_Fonts.cpp Android: Fix numeric conversion warnings 2021-02-03 16:09:54 +00:00
juce_android_GraphicsContext.cpp Updated all license headers 2020-06-29 08:30:22 +01:00
juce_android_IconHelpers.cpp Updated all license headers 2020-06-29 08:30:22 +01:00
juce_freetype_Fonts.cpp Clang: Fix warnings when building with clang 10 2020-07-01 10:00:43 +01:00
juce_linux_Fonts.cpp Added preliminary support for FreeBSD 2021-03-29 14:16:46 +01:00
juce_linux_IconHelpers.cpp Updated all license headers 2020-06-29 08:30:22 +01:00
juce_mac_CoreGraphicsContext.h Updated all license headers 2020-06-29 08:30:22 +01:00
juce_mac_CoreGraphicsContext.mm macOS: Suppress leak detector warnings for retained system tray icons on Big Sur 2021-12-15 12:19:06 +00:00
juce_mac_CoreGraphicsHelpers.h macOS: Fix CGImage memory access violation on Monterey 2021-12-14 14:36:52 +00:00
juce_mac_Fonts.mm Mac Fonts: Fix rendering of AttributedStrings with empty ranges 2022-02-07 14:24:11 +00:00
juce_mac_IconHelpers.cpp Use RAII for CFTypes 2021-03-25 15:48:35 +00:00
juce_RenderingHelpers.h Font: Make Font and TypefaceCache threadsafe 2021-09-23 10:28:47 +01:00
juce_win32_Direct2DGraphicsContext.cpp Font: Make Font and TypefaceCache threadsafe 2021-09-23 10:28:47 +01:00
juce_win32_Direct2DGraphicsContext.h Updated all license headers 2020-06-29 08:30:22 +01:00
juce_win32_DirectWriteTypeface.cpp MinGW: Improve compatibility 2022-01-17 10:58:18 +00:00
juce_win32_DirectWriteTypeLayout.cpp MinGW: Improve compatibility 2022-01-17 10:58:18 +00:00
juce_win32_Fonts.cpp MinGW: Improve compatibility 2022-01-17 10:58:18 +00:00
juce_win32_IconHelpers.cpp Updated all license headers 2020-06-29 08:30:22 +01:00