Skip to content

Commit

Permalink
docs(sample): Change comparison to be against an actual Times New Rom…
Browse files Browse the repository at this point in the history
…an look-alike
  • Loading branch information
alerque committed Sep 26, 2024
1 parent d5936bf commit 543048b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/fontship.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
- name: SILE
id: sile
uses: sile-typesetter/sile@v0
pre-entrypoint: pacman --noconfirm -Sy tex-gyre-fonts
with:
args: documentation/sample.sil
- name: Fontship package
Expand Down
9 changes: 5 additions & 4 deletions documentation/sample.sil
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
\use[module=packages.frametricks]
\use[module=packages.color]
\use[module=packages.rebox]
\use[module=packages.footnotes]
\begin{lua}

SILE.settings:set("document.lskip", SILE.types.node.glue(0))
Expand Down Expand Up @@ -66,7 +67,7 @@ end)
\begin[color=#345D00]{color}
\font[features=+smcp,size=26pt]{Libertinus Serif}

Comparison with Liberation Serif and Multilingual Sample Texts
Comparison with Times New Roman\footnote{Since the actual Times New Roman font is released under a non-free license, this document uses TeX Gyre Termes which is designed as a drop in replacement but also has extended language support not found in the original font.} and Multilingual Sample Texts
\end{color}
\end{center}

Expand Down Expand Up @@ -108,7 +109,7 @@ Ich hing in Gedanken meinem Forschungsprojekt nach (Na⁺ im Ton, SO₄²⁻ im
\end{font}
\framebreak

\begin[family=Liberation Serif]{font}
\begin[family=TeX Gyre Termes]{font}
\font-v \comparison
\end{font}

Expand All @@ -131,7 +132,7 @@ J’ignore jusqu’aux lieux qui le peuvent cacher.\par

\hbox

\begin[filename=LibertinusSerif-Regular.otf]{font}
\begin[filename=LibertinusSerif-Italic.otf]{font}
\font-v

\poem
Expand All @@ -141,7 +142,7 @@ J’ignore jusqu’aux lieux qui le peuvent cacher.\par

\hbox

\begin[filename=LibertinusSerif-Italic.otf]{font}
\begin[family=TeX Gyre Termes,style=Italic]{font}
\font-v

\poem
Expand Down

0 comments on commit 543048b

Please sign in to comment.