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
@@ -409,6 +409,8 @@ impl Executor {
|
||||
| Hyphenchar
|
||||
| Lpcode
|
||||
| Rpcode
|
||||
| Efcode
|
||||
| Pdffontexpand
|
||||
| Skewchar
|
||||
| Textfont
|
||||
| Scriptfont
|
||||
|
||||
@@ -783,7 +783,8 @@ impl Executor {
|
||||
| Lccode | Uccode | Lowercase | Uppercase | Hyphenation | Patterns | Mathcode
|
||||
| Delcode | Count | Countdef | Dimen | Dimendef | Skip | Skipdef | Muskip
|
||||
| Muskipdef | Toks | Toksdef | Advance | Multiply | Divide | Read | Readline
|
||||
| Font | Fontdimen | Hyphenchar | Skewchar | Lpcode | Rpcode | Textfont | Scriptfont
|
||||
| Font | Fontdimen | Hyphenchar | Skewchar | Lpcode | Rpcode | Efcode | Pdffontexpand
|
||||
| Textfont | Scriptfont
|
||||
| Scriptscriptfont | Endlinechar | Newlinechar | Escapechar | Globaldefs | Time
|
||||
| Day | Month | Year | BeginGroup | EndGroup | Relax | Message | Errmessage
|
||||
| Endinput | Showbox | Show | Showthe | Discretionary | DiscretionaryHyphen
|
||||
|
||||
@@ -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