Embed math italic letters as Computer Modern Type1 outlines

This commit is contained in:
gloamxun committed 2026-10-24 03:35:33 +08:00
1 parent f7849f39c2
commit a95cf8092e
10 files changed
+120 -35

No files matched your search

-8
View File
@@ -290,14 +290,6 @@ fn atom_class(atom: &MathAtom) -> MathClass {
}
}
fn delimiter_width(delimiter: char, font: &Cmr10Metrics) -> i64 {
if delimiter == '.' {
0
} else {
font.width(delimiter)
}
}
/// TeX grows delimiters with the enclosed formula; this is a simple 1x-3x
/// approximation of that rule.
/// Pick the delimiter glyph TeX would use for a body of `delta` extent.