Implement native letterspaced fonts and virtual glyph placement
This commit is contained in:
1 parent
6675ab639a
commit
f66a5a7e20
13 files changed
+337
-35
No files matched your search
@@ -1096,7 +1096,9 @@ impl Executor {
|
||||
token.kind = TokenKind::Command(CommandName::Font(font));
|
||||
return Ok(TheValue::Tokens(vec![token]));
|
||||
}
|
||||
Meaning::Primitive(Font | Textfont | Scriptfont | Scriptscriptfont) => {
|
||||
Meaning::Primitive(
|
||||
Font | Letterspacefont | Textfont | Scriptfont | Scriptscriptfont,
|
||||
) => {
|
||||
let mut token = next.token.clone();
|
||||
self.unread(next)?;
|
||||
let font = self.font_identifier(files)?;
|
||||
@@ -4042,6 +4044,7 @@ impl Executor {
|
||||
.map_err(|e| self.error(e, self.current))?;
|
||||
}
|
||||
Some(Font) => self.define_font(global, files)?,
|
||||
Some(Letterspacefont) => self.define_letterspaced_font(global, files)?,
|
||||
Some(Textfont | Scriptfont | Scriptscriptfont) => {
|
||||
self.math_font_assignment(primitive.unwrap(), global, files)?
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user