Execute explicit XeTeX glyph nodes across native layout and export
This commit is contained in:
1 parent
a0922d0105
commit
b88283f493
17 files changed
+185
-43
No files matched your search
@@ -2649,6 +2649,7 @@ impl Executor {
|
||||
let first = self.expanded_non_space(files)?;
|
||||
let mut used_quotes = false;
|
||||
let mut name = std::string::String::new();
|
||||
let xetex = self.state.input_profile() == InputProfile::XeTeX;
|
||||
if first.token.kind.begin_group() {
|
||||
loop {
|
||||
let token = self.required_expanded(files)?;
|
||||
@@ -2672,6 +2673,11 @@ impl Executor {
|
||||
TokenKind::Character(' ', CatCode::Space) if quoted => name.push(' '),
|
||||
TokenKind::Character(_, CatCode::Space) => break,
|
||||
TokenKind::Character(c, CatCode::Letter | CatCode::Other) => name.push(c),
|
||||
TokenKind::Character(c, CatCode::MathShift | CatCode::Alignment
|
||||
| CatCode::Parameter | CatCode::Superscript | CatCode::Subscript) if xetex =>
|
||||
{
|
||||
name.push(c);
|
||||
}
|
||||
_ => {
|
||||
self.unread(token)?;
|
||||
break;
|
||||
@@ -3248,6 +3254,7 @@ impl Executor {
|
||||
Primitive::XeTeXrevision => "XeTeXrevision".into(),
|
||||
Primitive::XeTeXpdffile => "XeTeXpdffile".into(),
|
||||
Primitive::XeTeXpicfile => "XeTeXpicfile".into(),
|
||||
Primitive::XeTeXglyph => "XeTeXglyph".into(),
|
||||
Primitive::XeTeXinputencoding => "XeTeXinputencoding".into(),
|
||||
Primitive::XeTeXdefaultencoding => "XeTeXdefaultencoding".into(),
|
||||
Primitive::XeTeXcharclass => "XeTeXcharclass".into(),
|
||||
@@ -3833,6 +3840,7 @@ impl Executor {
|
||||
| Meaning::Primitive(
|
||||
Primitive::Char
|
||||
| Primitive::Accent
|
||||
| Primitive::XeTeXglyph
|
||||
| Primitive::Hskip
|
||||
| Primitive::Hfil
|
||||
| Primitive::Hfill
|
||||
|
||||
Reference in new issue
Block a user