Skip to content

Commit

Permalink
test(languages): Add new test showing effect of Turkish hyphenation o…
Browse files Browse the repository at this point in the history
…ption
  • Loading branch information
alerque committed Jan 24, 2024
1 parent fd0025f commit d446b83
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 0 deletions.
55 changes: 55 additions & 0 deletions tests/turkish-hypenation-options.expected
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
Set paper size 209.7637818 297.6377985
Begin page
Mx 10.4882
My 40.4444
Set font Gentium Plus;32;400;;normal;;;LTR
T 997 86 w=21.8906 (İs)
Mx 32.3788
T 87 68 81 w=43.3594 (tan)
Mx 75.7382
T 69 88 79 w=41.8750 (bul)
Mx 117.6132
T 10 w=8.0000 (')
Mx 125.6132
T 71 68 81 w=48.9844 (dan)
Mx 174.5976
T 86 215 w=21.0313 (sı)
Mx 195.6288
T 16 w=10.7813 (-)
Mx 10.4882
My 78.8444
T 81 215 93 w=39.9063 (nız)
Mx 88.5955
My 117.2444
T 997 86 w=21.8906 (İs)
Mx 110.4861
T 87 68 81 w=43.3594 (tan)
Mx 153.8455
T 69 88 79 w=41.8750 (bul)
Mx 195.7205
T 10 w=8.0000 (')
Mx 10.4882
My 155.6444
T 71 68 81 w=48.9844 (dan)
Mx 59.4726
T 86 215 w=21.0313 (sı)
Mx 80.5038
T 81 215 93 w=39.9063 (nız)
Mx 88.5955
My 194.0444
T 997 86 w=21.8906 (İs)
Mx 110.4861
T 87 68 81 w=43.3594 (tan)
Mx 153.8455
T 69 88 79 w=41.8750 (bul)
Mx 195.7205
T 16 w=10.7813 (-)
Mx 10.4882
My 232.4444
T 71 68 81 w=48.9844 (dan)
Mx 59.4726
T 86 215 w=21.0313 (sı)
Mx 80.5038
T 81 215 93 w=39.9063 (nız)
End page
Finish
17 changes: 17 additions & 0 deletions tests/turkish-hypenation-options.sil
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
\begin[papersize=a7]{document}
\nofolios
\neverindent
\font[size=32pt,language=tr]

% A non-apostrophe break
İstanbul'dansınız

% An apostrophe break point
\kern[width=72pt]
İstanbul'dansınız

\set[parameter=languages.tr.replaceApostropheAtHyphenation,value=true]
\kern[width=72pt]
İstanbul'dansınız

\end{document}

0 comments on commit d446b83

Please sign in to comment.