"Dunkan" wrote:
Hi folks,
This has been asked multiple times but I still didn't find a solution. If one exists, could anyone please point me to it? I am trying to display content in non Roman languages (Chinese, Russian etc) in Roku components like labels etc.. So far I can only see unsupported character boxes even for custom fonts that I am certain support those Unicode code points. Is it possible at all?
Is there a good non-hacky way to solve this?
"RokuKC" wrote:"Dunkan" wrote:
Hi folks,
This has been asked multiple times but I still didn't find a solution. If one exists, could anyone please point me to it? I am trying to display content in non Roman languages (Chinese, Russian etc) in Roku components like labels etc.. So far I can only see unsupported character boxes even for custom fonts that I am certain support those Unicode code points. Is it possible at all?
Is there a good non-hacky way to solve this?
It would be helpful if you included a link to where it was asked before, as I don't recall it.
With my own RSG test app, I don't see any problems displaying Chinese or Russian characters, e.g. using Google Noto CJK font (again, for test purpose only).
Keep in mind that BrightScript strings use Unicode characters, and generally require UTF-8 encoding for binary interchange e.g. from file or network I/O.
If you're using a custom TrueType or OpenType font, make sure it includes a Unicode mapping table.
Hi RokuKC,
Is your app still working fine with Google Noto CJK font? https://www.google.com/get/noto/help/cjk/
The smallest font file I can findin there is around 18MB which is too large and Roku would not be able to run with this file. Is it possible for you to share the font file which would work with Chinese characters in your test app?