Graphics.TextHeight and Graphics.TextWidth return 0 in a Web App built with Xojo2019R2 running in debugger on Catalina. The issue occurs with both Safari and Chrome browsers.
This code demonstrates the issue.
Dim p As New Picture(100, 100, 32)
dim H as integer
p.Graphics.TextFont = “Arial”
p.Graphics.TextSize = 12
H = p.Graphics.TextHeight
When this code is built with Xojo2019R1 and runs on Mac OS 10.13.6, it displays “TextHeight=18” as expected.
This code works fine in a Desktop app built with Xojo2019R2 and running on Catalina.
Any idea how to get TextHeight and TextWidth of Web App running on Catalina?