diff --git a/capellambse/svg/drawing.py b/capellambse/svg/drawing.py index fba427c21..7a9497c9d 100644 --- a/capellambse/svg/drawing.py +++ b/capellambse/svg/drawing.py @@ -294,6 +294,11 @@ def _draw_label(self, builder: LabelBuilder) -> None: if transform := getattr(builder.labelstyle, "transform", None): if match := re.search(RE_ROTATION, transform): + if match.group("angle") != "-90": + raise NotImplementedError( + "Angles other than -90 are not supported" + ) + x = float(match.group("x")) y = float(match.group("y")) if new_y := match.group("tspan_y"):