Skip to content

Commit

Permalink
test(core): Confirm parindent is applied even before font command
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Jan 27, 2023
1 parent 3ff83c6 commit 6e00f26
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
18 changes: 18 additions & 0 deletions tests/bug-1699.expected
@@ -0,0 +1,18 @@
Set paper size 209.7637818 297.6377985
Begin page
Mx 10.4882
My 22.3038
Set font Gentium Plus;10;400;Italic;normal;;;LTR
T 73 82 82 w=11.1670 (foo)
Mx 30.4882
My 34.3038
Set font Gentium Plus;10;400;;normal;;;LTR
T 69 68 85 w=13.6279 (bar)
Mx 10.4882
My 46.3038
T 73 82 82 w=13.1689 (foo)
Mx 30.4882
My 58.3038
T 69 68 85 w=13.6279 (bar)
End page
Finish
13 changes: 13 additions & 0 deletions tests/bug-1699.sil
@@ -0,0 +1,13 @@
\begin[class=plain,papersize=a7]{document}
\nofolios
% Both "bar" entries should have parindent applied
\noindent
\em{foo}

bar

\noindent
foo

bar
\end{document}

0 comments on commit 6e00f26

Please sign in to comment.