mirror of
https://github.com/storytold/cadcraft.git
synced 2026-12-02 02:38:30 -06:00
justify and style given as a number, boolean or array were read as absent, so the definition came out left-aligned in the current style. They are now refused. The definition also kept width factor 1 and oblique 0 whatever the chosen text style said, and the renderer uses the entity's values; it now copies both from the style. Tests: a_non_string_justify_or_style_is_refused, the_definition_takes_the_styles_width_factor_and_oblique.