Skip to content

Commit

Permalink
test(packages): Drop workarounds for PDF specific actions in non-pdf …
Browse files Browse the repository at this point in the history
…backends
  • Loading branch information
alerque committed Jan 10, 2024
1 parent 8bcf2ff commit fd03f47
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 5 additions & 0 deletions tests/bug-1280.expected
@@ -1,5 +1,10 @@
Set paper size 425.196855 170.078742
Begin page
Set metadata Author Erwin Schrödinger
Set metadata Title Erwin Schrödinger’s 猫🐈
Set metadata CreationDate D:19990209153925 - 08 ' 00 '
Set metadata ModDate should fail
Set metadata Trapped should be skipped
Mx 21.2598
My 16.5739
Set font ;10;400;;normal;;;LTR;.fonts/NotoSerifCJK-Regular.ttc
Expand Down
6 changes: 1 addition & 5 deletions tests/bug-1280.sil
@@ -1,5 +1,6 @@
\begin[papersize=15cm x 6cm]{document}
\use[module=packages.retrograde,target=v0.15.0]
\use[module=packages.pdf]
\font[filename=.fonts/NotoSerifCJK-Regular.ttc]
\nofolios
\neverindent
Expand Down Expand Up @@ -44,11 +45,6 @@
for i = 1, fchecks do
check()
end
if SILE.backend ~= "debug" then
SILE.use("packages.pdf")
else
SILE.registerCommand("pdf:metadata", function (_, _) end)
end
\end{script}
\pdf:metadata[key=Author, value=Erwin Schrödinger]
\pdf:metadata[key=Title, value=Erwin Schrödinger’s 猫🐈]
Expand Down

0 comments on commit fd03f47

Please sign in to comment.