1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-01 03:10:06 +00:00
JUCE/modules/juce_graphics
reuk 54b157bb8c
DirectWriteTypeface: Use GDI fallback behaviour for missing fonts
Previously, when attempting to create a font with a name different to
that of any font on the system, the returned typeface could be nullptr.
This could lead to crashes when attempting to use the typeface.

Now, if we fail to find a matching font using DirectWrite, we fall back
to the older LOGFONT and DC approach, which will generally locate a
usable typeface, though not necessarily an exact match.

The new behaviour more closely matches the behaviour of JUCE 7, which
would attempt to construct a DirectWrite typeface, but would fall back
to creating an HFONT on failure.
2024-09-18 15:44:05 +01:00
..
colour ColourGradient: Fix assertion in ColourGradient::remove 2024-05-08 17:53:52 +01:00
contexts Windows: Fix build warnings when JUCE_DISABLE_ASSERTIONS is set 2024-09-13 13:57:10 +01:00
detail Formatting: Whitespace 2024-09-06 15:40:39 +00:00
effects D2D: Add faster two-pass blur implementation 2024-04-29 16:08:24 +01:00
fonts Formatting: Whitespace 2024-09-06 15:40:39 +00:00
geometry EdgeTable: Fix assertion caused by unnecessarily storing prepending zero levels 2024-09-05 17:36:51 +02:00
image_formats MinGW: Remove support 2024-06-27 18:10:21 +01:00
images Direct2D: Add support for bitmaps spanning multiple texture pages 2024-09-18 15:44:04 +01:00
native DirectWriteTypeface: Use GDI fallback behaviour for missing fonts 2024-09-18 15:44:05 +01:00
placement Update licensing information 2024-04-16 11:39:35 +01:00
unicode UnicodeGenerated: Improve memory usage during compilation with gcc-7 2024-09-04 14:56:29 +01:00
juce_graphics.cpp Direct2D: Share more implementation headers between modules 2024-08-22 18:18:14 +01:00
juce_graphics.h Direct2D: Share more implementation headers between modules 2024-08-22 18:18:14 +01:00
juce_graphics.mm Update licensing information 2024-04-16 11:39:35 +01:00
juce_graphics_Harfbuzz.cpp Harfbuzz: Silence clang overflow warning 2024-07-29 16:11:55 +01:00