From e1ded7cc089c771c922ffa1463da2e0aa4d724fa Mon Sep 17 00:00:00 2001 From: Tom Poole Date: Wed, 22 Jan 2020 09:37:36 +0000 Subject: [PATCH] Added a macOS text alignment issue to the breaking changes doc. --- BREAKING-CHANGES.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/BREAKING-CHANGES.txt b/BREAKING-CHANGES.txt index 846adb4a48..41f904833f 100644 --- a/BREAKING-CHANGES.txt +++ b/BREAKING-CHANGES.txt @@ -78,6 +78,28 @@ state. Version 5.4.5 ============= +Change +------ +The alignment of text rendered on macOS using CoreGraphics may have shifted +slightly, depending on the font you have used. The default macOS font has +shifted downwards. + +Possible Issues +--------------- +Merticulously aligned text components of a GUI may now be misaligned. + +Workaround +---------- +Use a custom LookAndFeel to change the location where text is drawn, or use a +different font that matches the previous alignment of your original font. + +Rationale +--------- +This was an unintentional change resulting from moving away from a deprecated +macOS text API. The new alignment is consistent with other rendering engines +(web browsers and text editors) and the software renderer. + + Change ------ The JUCEApplicationBase::backButtonPressed() method now returns a bool to