Forum Discussion

nbschenjie's avatar
12 months ago

about add chinese font lobrary

 

I would like to add a Simplified Chinese font library to my Roku TV. Could you please provide detailed instructions on how to do this?

2 Replies

  • Adding Simplified Chinese Fonts to Roku TV

    Roku doesn’t natively allow adding font libraries, but you can embed custom fonts in your app:

    1. Add a .ttf or .otf font to your app’s fonts folder.
    2. Reference it in your manifest:
      <font alias="ChineseFont" file="fonts/SimplifiedChinese.ttf" />  
    3. Apply it in BrightScript:
      textLabel.SetFont("ChineseFont")