Query actual XeTeX glyph bounds and names in native jobs

This commit is contained in:
gloamxun committed 2026-11-26 12:11:40 +08:00
1 parent b88283f493
commit fc6d704edf
8 files changed
+109 -6

No files matched your search

@@ -390,6 +390,8 @@ pub enum Primitive {
XeTeXcharclass,
XeTeXinterchartoks,
XeTeXglyph,
XeTeXglyphbounds,
XeTeXglyphname,
}
impl Primitive {
@@ -472,6 +474,7 @@ impl Primitive {
| Pdfcreationdate
| Pdftexrevision
| XeTeXrevision
| XeTeXglyphname
| Pdfstrcmp
| Pdfmatch
| Pdflastmatch
@@ -1732,6 +1735,8 @@ impl State {
("XeTeXpdffile", Primitive::XeTeXpdffile),
("XeTeXpicfile", Primitive::XeTeXpicfile),
("XeTeXglyph", Primitive::XeTeXglyph),
("XeTeXglyphbounds", Primitive::XeTeXglyphbounds),
("XeTeXglyphname", Primitive::XeTeXglyphname),
("XeTeXpdfpagecount", Primitive::XeTeXpdfpagecount),
("XeTeXinputencoding", Primitive::XeTeXinputencoding),
("XeTeXdefaultencoding", Primitive::XeTeXdefaultencoding),