Skip to main content

23 posts tagged with "knowledge-base"

View All Tags

Modularizing Lua - when to use, why and how?

· 16 min read

Many Storyboard applications evolve and accumulate Lua functions as the application fills-out. These utility Lua functions are typically clustered in a few .lua files under the root of the scripts folder of the Storyboard project file structure which works fine whilst the number of screens is limited however as this grows or the project team increases then the task of collaborating and managing the functionality can start to become more challenging.

Displaying Arabic Font

· 5 min read

When displaying text that is written right-to-left, this will sometimes have the behaviour of being displayed with the characters in the reverse order. This is because text is interpreted/rendered from left-to-right. This means that the simple solution is to start off by reversing the character order before rendering. E.g. if you want your right-to-left text to be displayed as ‘ABC’ then write it as ‘CBA’.

Building a Storyboard Container

· 5 min read

If you are evaluating Storyboard or the Torizon platform you will likely have seen our pre-built container images configured to run on the Toradex Torizon platform. After you’ve played around with the image a bit, you will likely want to build your own container. Docker is a very flexible and configurable platform so I’m going to show you what we’ve done internally for our container and you can use that as inspiration or a base for your container going forward. To begin you will require the followirng pieces: