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 fa701a1bd9
SimpleShapedText: Use string with replaced whitspace during fallback font substitution
This is intended to address an assertion that sometimes fired during
shaping text on Android, for example when using the font "Noto Sans
Symbols" and shaping ASCII text including a line break in a multiline
text editor.

The cause of the issue seems to be that the shaper would search for
substitute fonts using the original string content, but would then
replace some characters in the string during shaping. Shaping could then
fail if the font did not contain glyphs for the replaced characters.

We now create a UTF32 string with replaced characters at the beginning
of the shaping process, and use that new string for all queries other
than unicode analysis.
2025-06-16 16:59:55 +01:00
..
colour PixelRGB: Fix pixel order issue when creating CGImages on iOS 2024-12-03 11:28:07 +00:00
contexts Graphics: Add missing JUCE_API annotation to ScopedSaveState 2025-06-03 16:12:00 +01:00
detail SimpleShapedText: Use string with replaced whitspace during fallback font substitution 2025-06-16 16:59:55 +01:00
effects Effects: Use preferred temporary image type for DropShadow temporary image 2025-04-24 13:58:23 +01:00
fonts Typeface: Enable advanced colour glyph rendering on Android 2025-06-16 16:59:55 +01:00
geometry Reword isSingularity() brief to avoid Doxygen line break 2025-05-09 12:57:02 +01:00
image_formats Zlib: Fix unknown-symbols errors when building with clang, windows, C++20/23 2025-03-03 14:41:32 +00:00
images Image: Respect pixelStride when converting between image formats 2025-05-19 13:32:52 +01:00
native Typeface: Enable advanced colour glyph rendering on Android 2025-06-16 16:59:55 +01:00
placement Update licensing information 2024-04-16 11:39:35 +01:00
unicode Fix bidi ordering 2025-05-12 16:49:05 +02:00
juce_graphics.cpp Add GlyphArrangementOptions for addFittedText and drawFittedText 2025-05-09 13:39:11 +02:00
juce_graphics.h Bump version number to 8.0.8 2025-06-02 09:24:54 +01:00
juce_graphics.mm Update licensing information 2024-04-16 11:39:35 +01:00
juce_graphics_Harfbuzz.cpp HarfBuzz: Silence nontrivial-memcall warnings 2025-03-19 11:06:17 +00:00
juce_graphics_Sheenbidi.c SheenBidi: Disable implicit-fallthrough warning for clang/gcc 2024-12-08 22:25:11 +00:00