Replace font glue with explicit spaceskip and xspaceskip
This commit is contained in:
1 parent
4acccaee86
commit
4be0ff5787
7 files changed
+161
-25
No files matched your search
@@ -417,6 +417,8 @@ fn build_document(paragraphs: &[SourceParagraph]) -> Document {
|
||||
space_width: 4 * SCALE,
|
||||
space_stretch: 6 * SCALE,
|
||||
space_shrink: 2 * SCALE,
|
||||
space_skip: None,
|
||||
xspace_skip: None,
|
||||
};
|
||||
let mut unit = Unit::paragraph_with_style(index as u64, paragraph.text.clone(), style);
|
||||
if let Some(VerticalItem::Paragraph(paragraph_box)) = unit.items.first_mut() {
|
||||
|
||||
Reference in new issue
Block a user