Tighten large-operator lower limits

This commit is contained in:
gloamxun committed 2026-10-29 00:15:15 +08:00
1 parent a9f3cab8dc
commit 96b40c1c2e
3 files changed
+20 -2

No files matched your search

+1 -1
View File
@@ -1613,7 +1613,7 @@ impl Page {
x + (base_box.width - sub_box.width).max(0) / 2,
baseline
+ if Self::large_operator(base) {
0
-4 * 65_536
} else {
math::intrinsic_depth(base, font)
}