reuk
837ab64dbd
Android: Fix numeric conversion warnings
4 years ago
ed
af69be5346
Windows: Tidied up the usage of the JUCE_COMCALL, JUCE_COMCLASS, and JUCE_IUNKNOWNCLASS macros
4 years ago
reuk
3baaad8b5b
XmlElement: Update loops to use new iterators
4 years ago
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.
4 years ago
reuk
651c91eb56
ColorSpacePtr: Tidy up uses
4 years ago
reuk
60ff8fde97
AttributedString: Fix colourspace used on macOS
4 years ago
reuk
586ab8927d
Fix warnings when building in C++20 mode
4 years ago
ed
9005c81f47
Windows: Fixed a potential crash in the DirectWrite TextLayout::createNativeLayout() implementation
4 years ago
ed
4ddcc7bb61
macOS: Set CoreText underline property when creating native text layout
4 years ago
ed
1b2c9c154b
iOS: Don't set the font smoothing property of the graphics context on iOS so that cached Component images render the same as the default
5 years ago
reuk
394c4fd475
Clang: Fix warnings when building with clang 10
5 years ago
ed
009d685179
Updated all license headers
5 years ago
reuk
cbfbd8cf12
CoreGraphics: Use generic colour spaces, instead of device colour spaces
5 years ago
ed
ce16bd3df9
macOS: Use CGContextGetUserSpaceToDeviceSpaceTransform to get backing scale factor of graphics context to avoid unnecessary upscaling on retina displays on macOS 10.14+
5 years ago
ed
7b17d42039
macOS: Use CGContextGetUserSpaceToDeviceSpaceTransform to get backing scale factor of graphics context to avoid unnecessary upscaling on retina displays on macOS 10.14+
5 years ago
ed
b5214a341e
Normalised lambda whitespace
5 years ago
reuk
092bc44413
MinGW: Fix windows/gcc warnings
5 years ago
reuk
e13901d912
ClangCl: Silence code which warns when building on Windows with Clang
5 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
reuk
e7e1de78fa
Files: Add RangedDirectoryIterator
5 years ago
reuk
5f348c3040
Warnings: Add warning-wrangling header
5 years ago
reuk
327f817b9b
Copyrights: Update commercial/gpl headers to be gpl-only
5 years ago
ed
26c9468dc5
Deprecated AffineTransform::getScaleFactor() as it was producing incorrect values for transforms containing rotations. Added getDeterminant() method for getting the determinant of the transform
5 years ago
ed
441c88f3b9
macOS: Removed all dynamic_cast type_info warning workarounds which have been fixed in 0dd3b02
5 years ago
ed
59a058fdc6
Fixed some warnings flagged up when enabling -Wswitch-enum, -Wswitch-default, -Wredundant-decls, and -Wimplicit-fallthrough
5 years ago
ed
5bda9de977
Windows: Fixed some build errors and warnings when using Clang in Visual Studio
5 years ago
ed
442478680b
macOS: Fixed another spurious dynamic_cast warning in CoreGraphicsPixelData
5 years ago
Tom Poole
9798f672c4
macOS: Renamed the CoreGraphicsImage class to avoid a symbol resolution issue in Pro Tools
5 years ago
Tom Poole
47f138464f
macOS: Fixed a CoreGraphics text layout bug
5 years ago
ed
a54da0b832
Fixed some more typos
5 years ago
Tom Poole
5ad8b1a50c
macOS: Fixed an issue setting the CTFrame size for AttributedStrings
5 years ago
Tom Poole
1d2fc2ddd5
macOS: Fixed an issue restoring graphics state after drawing an AttributedString
5 years ago
Tom Poole
008f097e12
Windows: Fixed a DirectWrite justification bug
5 years ago
Tom Poole
24d7a9a342
Updated some deprecated code use
5 years ago
ed
c78749b14e
macOS: Fixed some issues drawing italicised text
5 years ago
reuk
edf99d171f
TextLayout: Fixed some bugs setting stringRanges
5 years ago
Tom Poole
ece16bce70
CoreGraphics: Fixed a text layout bug
5 years ago
Tom Poole
c528af5976
macOS: Replaced a deprecated glyph drawing function
5 years ago
ed
a5e5831ea0
Don't apply FillType transform twice in CoreGraphicsContext::drawGradient()
5 years ago
Tom Poole
1b4042217a
macOS: Fixed an issue unregistering fonts
6 years ago
ed
bdeaeaf368
macOS: Fixed some deprecation warnings and silenced some others for the time being
6 years ago
Tom Poole
8f84192c9b
Fixed some more Android compiler warnings
6 years ago
Tom Poole
670f77f80c
Fixed some Android compiler warnings
6 years ago
Tom Poole
16dd26649a
Fixed some GCC compiler warnings and removed deprecated functions
6 years ago
jules
f58eacc135
Added more unique_ptr use, for functions that create LowLevelGraphicsContext or ImageType objects.
6 years ago
Tom Poole
4e0adb2af8
GCC 9 compatibility fixes
6 years ago
Tom Poole
3c0ccda6a5
macOS: Cleaned up old 10.6 support ifdefs
6 years ago
Tom Poole
cb41fdcb9e
macOS: Fixed spurious dynamic_cast type_info warnings when loading dylibs containing JUCE at runtime
6 years ago
Tom Poole
6bf6aa1761
MacOS/iOS: Fixed a potential memory corruption when drawing
6 years ago