Add unit-label markup: super/subscripts and stacked fractions

Lighter shorthand (^x, _x, {a/b}) rendered as glyph paths in the ГОСТ
font — no LaTeX engine, so typography and self-contained output are
preserved. Constructs nest (e.g. {m/s^2}, x^{1/2}). A marked-up unit is
sized to its true ink bounding box and centered in the unit box with
white space, fitting in both axes so tall fractions don't overflow.

Also fit plain units by measured glyph width rather than a per-character
estimate. Bump to 0.77.
This commit is contained in:
2026-07-14 16:37:35 +02:00
parent edeb696238
commit f676651edb
4 changed files with 280 additions and 16 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: m1730-generator
image: git.baumann.gr/adebaumann/m1730-generator:0.76
image: git.baumann.gr/adebaumann/m1730-generator:0.77
imagePullPolicy: Always
ports:
- containerPort: 5000