Skip to content
Discussion options

You must be logged in to vote

Yes, Chinese language fonts are implemented and work fine. You just need to install the "All Fonts" app: https://banglejs.com/apps/?id=fontall

Realistically it didn't make sense to have a Chinese-only font file as it'd only be about 80% of the size of the 'All Fonts' one.

Some info at https://github.com/espruino/BangleApps/blob/master/README.md#api-reference

But basically:

  • you can check if the fonts are there by seeing if: Graphics.prototype.setFontIntl exists
  • Do g.setFont("Intl") to set the font (or g.getFont will suggest the international font if it's available and your text contains international chars)
  • Then just do g.drawString with a UTF8 string. Dealing with UTF8 in source code can…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@nravanelli
Comment options

@enaon
Comment options

@gfwilliams
Comment options

Answer selected by nravanelli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants