-
Notifications
You must be signed in to change notification settings - Fork 360
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#161 Remove automatic visual regression testing for MathML.
The MathML renderer (JEuclid) produces slightly different results on JDK8 vs JDK11 so is not suitable for auto testing.
- Loading branch information
Showing
5 changed files
with
121 additions
and
10 deletions.
There are no files selected for viewing
Binary file added
BIN
+19.2 KB
...topdf-examples/src/main/resources/visualtest/expected/replaced-plugin-latex-with-math.pdf
Binary file not shown.
Binary file modified
BIN
-2.76 KB
(86%)
openhtmltopdf-examples/src/main/resources/visualtest/expected/replaced-plugin-latex.pdf
Binary file not shown.
103 changes: 103 additions & 0 deletions
103
...tmltopdf-examples/src/main/resources/visualtest/html/replaced-plugin-latex-with-math.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
<html> | ||
<head> | ||
<style> | ||
@font-face { | ||
src: url(fonts/Karla-Bold.ttf); | ||
font-family: 'MyFont'; | ||
font-weight: normal; | ||
} | ||
@page { | ||
size: 10cm 30cm; | ||
margin: 0; | ||
} | ||
body { | ||
margin: 0; | ||
font-family: 'MyFont'; | ||
font-size: 15px; | ||
} | ||
latex { | ||
display: block; | ||
width: 100%; | ||
margin: 2px; | ||
padding: 5px; | ||
page-break-inside: avoid; | ||
} | ||
math { | ||
font-family: 'MyFont'; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
|
||
<latex><![CDATA[ | ||
Simple list: | ||
\begin{itemize} | ||
\item First item | ||
\item Second item | ||
\end{itemize} | ||
]]> | ||
</latex> | ||
|
||
<latex><![CDATA[ | ||
Here is a simple table without column lines: | ||
|
||
\begin{tabular}{ l c r } | ||
1 & 2 & 3 \\ | ||
4 & 5 & 6 \\ | ||
7 & 8 & 9 \\ | ||
\end{tabular} | ||
|
||
In this table you get column lines: | ||
|
||
\begin{tabular}{ l | c | r } | ||
1 & 2 & 3 \\ | ||
4 & 5 & 6 \\ | ||
7 & 8 & 9 \\ | ||
\end{tabular} | ||
|
||
And of course you can get both: | ||
\begin{tabular}{ l | c | r } | ||
\hline | ||
1 & 2 & 3 \\ | ||
4 & 5 & 6 \\ | ||
7 & 8 & 9 \\ | ||
\hline | ||
\end{tabular} | ||
]]> | ||
</latex> | ||
|
||
<latex><![CDATA[ | ||
And even fancier: | ||
\begin{center} | ||
\begin{tabular}{ | l | c | r | } | ||
\hline | ||
1 & 2 & 3 \\ \hline | ||
4 & 5 & 6 \\ \hline | ||
7 & 8 & 9 \\ | ||
\hline | ||
\end{tabular} | ||
\end{center} | ||
|
||
The full possibilities of $L^AT_EX$: | ||
|
||
\begin{tabular}{|r|l|} | ||
\hline | ||
7C0 & hexadecimal \\ | ||
3700 & octal \\ | ||
11111000000 & binary \\ | ||
\hline \hline | ||
1984 & decimal \\ | ||
\hline | ||
\end{tabular} | ||
]]> | ||
</latex> | ||
|
||
<latex><![CDATA[ | ||
Math: | ||
$ \frac{x+1}{3y} $ | ||
$ x^{2^{y-z}} $ | ||
]]> | ||
</latex> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters