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 ba37f915d6 Font: Fix issue where style changes may also affect the typeface of a Font
On Windows, calls to `createSystemTypefaceFor` with a data buffer always
create a WindowsTypeface instance. However, calls with an existing
`Font` instance may try to create a WindowsDirectWriteTypeface, and will
only fall back to using a WindowsTypeface on failure.

Previously, a missing typeface wasn't treated as a failure, which meant
that `WindowsDirectWriteTypeface` would fall back to the first usable
typeface it could find.

With this change applied, we check whether the
WindowsDirectWriteTypeface actually managed to find the font we
requested, and will fall back to using a plain WindowsTypeface in that
case.
2021-01-27 15:57:52 +00:00
..
colour Tidied up the pixel format classes 2021-01-19 23:29:56 +00:00
contexts Clang: Fix warnings when building with clang 10 2020-07-01 10:00:43 +01:00
effects Clang: Fix warnings when building with clang 10 2020-07-01 10:00:43 +01:00
fonts Added an underline toggle to FontsDemo 2020-08-04 10:26:41 +01:00
geometry Point: Fix incorrect type conversions in operator* and operator/ 2020-07-10 12:25:54 +01:00
image_formats Updated all license headers 2020-06-29 08:30:22 +01:00
images Clang: Fix warnings when building with clang 10 2020-07-01 10:00:43 +01:00
native Font: Fix issue where style changes may also affect the typeface of a Font 2021-01-27 15:57:52 +00:00
placement Updated all license headers 2020-06-29 08:30:22 +01:00
juce_graphics.cpp iOS: Removed some unused deployment target checks 2020-07-20 17:17:53 +01:00
juce_graphics.h Bump version number to 6.0.7 2021-01-14 17:26:20 +00:00
juce_graphics.mm Updated all license headers 2020-06-29 08:30:22 +01:00