diff --git a/tests/test_complete_files.py b/tests/test_complete_files.py index 354bfaa..5c5bf7e 100644 --- a/tests/test_complete_files.py +++ b/tests/test_complete_files.py @@ -97,6 +97,11 @@ def test_symbol_and_use(self): filename = "symbol_and_use" create_test_from_filename(filename, self) + def test_text(self): + """Test complete convert text""" + filename = "text" + create_test_from_filename(filename, self) + if __name__ == "__main__": unittest.main() diff --git a/tests/testfiles/text.svg b/tests/testfiles/text.svg new file mode 100644 index 0000000..a5547a4 --- /dev/null +++ b/tests/testfiles/text.svg @@ -0,0 +1,104 @@ + + + + + + + + + + + + + + Normal Text + Rotated text + + diff --git a/tests/testfiles/text.tex b/tests/testfiles/text.tex new file mode 100644 index 0000000..3d98fcb --- /dev/null +++ b/tests/testfiles/text.tex @@ -0,0 +1,21 @@ + +\documentclass{article} +\usepackage[utf8]{inputenc} +\usepackage{tikz} + +\begin{document} + + +\def \globalscale {1.000000} +\begin{tikzpicture}[y=1cm, x=1cm, yscale=\globalscale,xscale=\globalscale, inner sep=0pt, outer sep=0pt] + \node[line width=0.0265cm,anchor=south west] (text3) at (1.0, 28.7){Normal Text}; + + + + \node[line width=0.0265cm,rotate=25.9218,anchor=south west] (text4) at (1.0, 28.7){Rotated text}; + + + + +\end{tikzpicture} +\end{document}