When I try to draw text on a canvas that is longer than one character nothing is happening. A single character string works. It works fine on both of my M1 Macs but fails on the Intel Mac book (Sonoma 14.4.1).
Here is how to reproduce it:
struct ContentView: View {
var body: some View {
Canvas { ctx, size in
let res = ctx.resolve(Text("H"))
ctx.draw(res, at: CGPoint(x: 100, y: 100))
let res1 = ctx.resolve(Text("Hello"))
ctx.draw(res1, at: CGPoint(x: 100, y: 150))
}
}
}
The second text doesn't show.
Selecting any option will automatically load the page