ui.Label(
"The quick brown fox jumps over the lazy dog",
style={
"font_size": 55,
"font": "${fonts}/OpenSans-SemiBold.ttf",
"alignment": ui.Alignment.CENTER
},
word_wrap=True,
)
omni.app.uidoc 104 .0 shows how to change font
but still can not use chinese font ,is there anyway to solve it?
I retested and setting the font via commandline still works. Is there any way I can help you get that working? If you’re not using an absolute path to the font file, try that. You might also want to try forward-slashes instead of back-slashes for the path.