metrics library

Functions

getSymbolSize(String symbol) → Tuple2<int, int>
Returns the rendered ink size (width, height) of an FSW symbol key (e.g. S2e748), measured in the Sutton SignWriting Line font at size 30.
signwritingBox(Sign sign) → Tuple2<int, int>
Recomputes a sign's bottom-right box corner (maxX, maxY) from its symbols' rendered sizes — the tight box used when trustBox is off.
symbolExists(String symbol) bool
Whether an FSW symbol key corresponds to an existing ISWA glyph (width > 0 && height > 0). Malformed keys return false.