Fonts with Xojo Cloud for WebCalendarView

Hi,

a client has the WebCalendarView from @JrmieLeroy running on Xojo Cloud, but all the calerndar items miss the text.

My guess would be missing fonts for use with StringWidth function.

Has someone an idea how to solve this problem?

If it is missing fonts, they can upload the fonts to the fonts folder (in Xojo Cloud) via SFTP.

We uploaded one.

But as System is missing, nothing works out of the box.

So I made request to add System font: <https://xojo.com/issue/49017>

Not everyone has a need for fonts on their Xojo Cloud server so it would be better to upload them yourself.

Don’t you think that a computer without fonts at all is bad?
Any drawing with graphics class fails if there is not at least one default font!

Okay, I ask for a default font and default font fallback on Xojo cloud: <https://xojo.com/issue/49038>

[quote=344048:@Christian Schmitz]Don’t you think that a computer without fonts at all is bad?
Any drawing with graphics class fails if there is not at least one default font![/quote]
That’s not true. Any drawing of text fails, but drawing lines and rectangles does not. Fails is a bit strong too as it does not throw an exception or stop drawing of other items.

That said, we encourage users to draw to the WebCanvas/WebGraphics object to avoid the overhead and bandwidth requirements of transmitting an entire picture to the client.

Just read the title again… why is this even a problem? Isn’t WebCalendarView a WebSDK control? If so, there should be no reliance on a server font.

For Stringwidth I guess.
And the version I saw does draw in picture.