Implement native PDF links and vertical discard lists
This commit is contained in:
1 parent
b6567f67e2
commit
a53d9c9bf9
29 files changed
+980
-109
No files matched your search
@@ -105,6 +105,9 @@ pub enum Primitive {
|
||||
Pdfcolorstackinit,
|
||||
Pdfcolorstack,
|
||||
Pdfsave,
|
||||
Pdfstartlink,
|
||||
Pdfendlink,
|
||||
Pdfdest,
|
||||
Pdfsetmatrix,
|
||||
Pdfrestore,
|
||||
Pdfglyphtounicode,
|
||||
@@ -232,6 +235,8 @@ pub enum Primitive {
|
||||
Unhcopy,
|
||||
Unvbox,
|
||||
Unvcopy,
|
||||
Pagediscards,
|
||||
Splitdiscards,
|
||||
Lastbox,
|
||||
Vsplit,
|
||||
Mark,
|
||||
@@ -846,6 +851,9 @@ impl Default for State {
|
||||
("pdfcolorstackinit", Pdfcolorstackinit),
|
||||
("pdfcolorstack", Pdfcolorstack),
|
||||
("pdfsave", Pdfsave),
|
||||
("pdfstartlink", Pdfstartlink),
|
||||
("pdfendlink", Pdfendlink),
|
||||
("pdfdest", Pdfdest),
|
||||
("pdfsetmatrix", Pdfsetmatrix),
|
||||
("pdfrestore", Pdfrestore),
|
||||
("pdfglyphtounicode", Pdfglyphtounicode),
|
||||
@@ -899,6 +907,7 @@ impl Default for State {
|
||||
| Parameter::Tracingscantokens
|
||||
| Parameter::Tracingnesting
|
||||
| Parameter::Tracingassigns
|
||||
| Parameter::Savingvdiscards
|
||||
) {
|
||||
continue;
|
||||
}
|
||||
@@ -1121,6 +1130,7 @@ impl State {
|
||||
Parameter::Tracingscantokens,
|
||||
Parameter::Tracingnesting,
|
||||
Parameter::Tracingassigns,
|
||||
Parameter::Savingvdiscards,
|
||||
] {
|
||||
self.commands.insert(
|
||||
CommandName::Control(parameter.name()),
|
||||
@@ -1151,6 +1161,8 @@ impl State {
|
||||
("currentgrouplevel", Currentgrouplevel),
|
||||
("currentgrouptype", Currentgrouptype),
|
||||
("lastnodetype", Lastnodetype),
|
||||
("pagediscards", Pagediscards),
|
||||
("splitdiscards", Splitdiscards),
|
||||
("parshapelength", Parshapelength),
|
||||
("parshapeindent", Parshapeindent),
|
||||
("parshapedimen", Parshapedimen),
|
||||
|
||||
Reference in new issue
Block a user