Forum Discussion
5 Replies
- RokuJoelBinge WatcherYou will probably need to develop your own screen using roScreen and roFontResource with a Chinese TTF font.
-Joel - p2premoteVisitoris there any document about roFontResource? I can not find it in the sdk documentations. And nothing shows up with google....
- RokuJoelBinge Watchersorry, its roFont and roFontRegistry, and the docs are in the Brightscript Reference Manual.
- Joel - p2premoteVisitorI saw roFontRegistry in the component reference but no roFont everywhere, where is it?
Also, the chinese fonts are all very large (about 6M), am not able to bundle thew in the app due to the size. Is it other way to get them into the system?
Thanks. - RokuJoelBinge WatcherroFont is in the Brightscript manual, where pretty much all the new features are.
Maybe there is a smaller font you can find? If not, then you can use roURLTransfer gettofile() or asyncGettoFile() to download to tmp:/ but 6mb is a significant bandwidth hit if you have lots of users (although, nothing near the bandwidth cost of streaming video).
A quick google search for Chinese fonts file size comes up with quite a variety of fonts.
- Joel