Use Computer Modern math metrics for route-D formulas
This commit is contained in:
1 parent
c9ad1e209a
commit
8f675bcabd
7 files changed
+108
-14
No files matched your search
+1
-1
@@ -925,7 +925,7 @@ fn build_document(paragraphs: &[SourceParagraph], geometry: &PageGeometry) -> Do
|
||||
}
|
||||
}
|
||||
if paragraph.math {
|
||||
let font = Cmr10Metrics::default();
|
||||
let font = Cmr10Metrics::Math;
|
||||
let atom = parse_math(¶graph.text);
|
||||
let lines = split_math_lines(&atom, &font, 480 * SCALE);
|
||||
let mut unit = Unit::math_lines(index as u64, &lines, &font);
|
||||
|
||||
Reference in new issue
Block a user