1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-20 01:14:20 +00:00

Added a macOS text alignment issue to the breaking changes doc.

This commit is contained in:
Tom Poole 2020-01-22 09:37:36 +00:00
parent 78e2892ba9
commit e1ded7cc08

View file

@ -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