Changing the fonts style

I want to create a text box that ables users to type messages. How do I let them change the fonts style of their message?

Welcome,

You mean, FontTypeface? The documentation says it is only available in the Designer, not blocks.

1 Like

Maybe this extension might help?

If I use Times New Roman as an example, I have to upload a .ttf file.

Fonts.aia (357.0 KB)

1 Like

Currently MIT App Inventor does not support custom font typeface but maybe in future you will find this GSoC project in MIT App Inventor.

https://community.appinventor.mit.edu/t/user-feedback-on-custom-font-typeface-support-in-app-inventor-gsoc-21

2 Likes

Thank you for respond

Or this (which also work with Companion):

1 Like

I think your modified extension should work on devices Android > 9.

I'll replace it. Thank you.

See number 3: Set custom fonts for your components dynamically.

It should work on all Android versions.

1 Like