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.