Implement native automatic font expansion for paragraphs
This commit is contained in:
1 parent
1dd745afcb
commit
ebbc9e2c17
24 files changed
+632
-34
No files matched your search
@@ -225,6 +225,7 @@ impl Executor {
|
||||
| Primitive::Hyphenchar
|
||||
| Primitive::Lpcode
|
||||
| Primitive::Rpcode
|
||||
| Primitive::Efcode
|
||||
| Primitive::Skewchar
|
||||
)
|
||||
)
|
||||
@@ -276,7 +277,7 @@ impl Executor {
|
||||
}
|
||||
Ok(n as i32)
|
||||
}
|
||||
fn optional_space(&mut self, files: &mut impl SourceProvider) -> Result<(), Error> {
|
||||
pub(super) fn optional_space(&mut self, files: &mut impl SourceProvider) -> Result<(), Error> {
|
||||
if let Some(t) = self.expanded(files)?
|
||||
&& !t.token.kind.is_space()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user