Skip to main content

Text engine

Glyph atlas outline width

A new flag for Candera::CanvasText (glyph atlas) has been added. This flag provides an outline width for glyphs within the glyph atlas texture. Goal is to provide an additional area around each glyph on which e.g. a shader can operate. The outline width is part of the cache key. Therefore, a new glyph atlas cache entry will be created as soon as the outline width in a canvas text differs from others.


Text Style

Class Style was updated with getters for the default code point.