Setting up Storyboard Engine

An engine execution environment is provided for each supported operating system, architecture and rendering system.  The target system should be configured with the Engine (sbengine) and plugins required for the target application.  All plugins are loaded via the SB_PLUGINS environment variable and all libraries are loaded via the LD_LIBRARY_PATH environment variable.  

For example assuming a Storyboard Engine installation located at /home/crank/linux-imx6yocto-armle-opengles_2.0-obj then you might configure the following environment variables:

export SB_PLUGINS=/home/crank/linux-imx6yocto-armle-opengles_2.0-obj/plugins
export LD_LIBRARY_PATH=/home/crank/linux-imx6yocto-armle-opengles_2.0-obj/lib   

On Windows systems, there is no LD_LIBRARY_PATH so the PATH environment variable should be used instead. Similarly on MacOS, DYLD_LIBRARY_PATH should be used instead of LD_LIBRARY_PATH

Font Environment Variable

The Storyboard Engine, when used with the FreeType font engine, has environment variables for font options:


This corresponds to the default hinting algorithm, optimized for standard gray-level rendering.


A lighter hinting algorithm for non-monochrome modes. Many generated glyphs are more fuzzy but better resemble its original shape. A bit like rendering on Mac OS X.


This variable is used to set the size of the FreeType font face cache. By default the cache is disabled and a value of 0 will disable the cache. Any other number is the number of font faces to cache, using this cache can decrease memory mappings of font files.

QNX Screen Environment

The QNX screen composited window system provides the ability for multiple applications to render content to a display at the same time and to have that content merged together.


By default (0), the screen composition manager does not deliver input events to an application that has fully transparent pixel content. This corresponds to the default QNX screen input setting of SCREEN_SENSITIVITY_TEST. Setting the SB_SENSITIVITY option to 1 any touch input received on the applications display area will be delivered to the application regardless of if the pixels were transparent or not. This corresponds to the QNX screen input setting of SCREEN_SENSITIVITY_ALWAYS.

Was this article helpful?
0 out of 0 found this helpful