Add font-weight or font family on word

Can I add a font-weight, font family or color text on the word on textBlock?

Hi. No. You can’t do this with babylon gui. You can use raw canvas as texture and draw what you want.

Those properties are global to the textBlock, you can’t change those values on a word per word basis. You will either need to split the text into several text blocks or use a manual way as @kvasss has described.

Thank you so much @kvasss @Evgeni_Popov
is there any reference to this case?

You can use a dynamic texture. For eg:

1 Like