I use an italic font in a texteditor (multiline). The left most characters start progressively more to the left and are hence clipped as you move down.
JUCE 8.0.3
Easily reproduced in Demorunner → FontsDemo using Courier for example - So far only tested on Mac
Windows does not exhibit the problem (at least with the fonts at my disposal)
reuk
November 10, 2024, 4:06pm
3
This should be fixed here:
committed 09:59PM - 20 Oct 24 UTC
This was evident in the FontsDemo when using the CoreGraphics renderer,
selectin… g a font without an italic face, and enabling the italic style.
The glyph anchor positions were incorrectly transformed by the text
matrix, causing the left margin of the text to become tilted.
We now correct for the slant and scale specified in the text matrix when
computing glyph anchor positions.
Please update to the latest develop branch and check whether the problem persists.