summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/weirdfonts.tex15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/weirdfonts.tex b/tests/weirdfonts.tex
new file mode 100644
index 0000000..9cbf8ac
--- /dev/null
+++ b/tests/weirdfonts.tex
@@ -0,0 +1,15 @@
+%% non-standard fonts deserve an extra test file
+\documentclass{scrartcl}
+\usepackage{fontspec}
+%% ····································································
+%% libertine monospace
+%% -------------------
+%% real-world example from: http://tex.stackexchange.com/q/110566
+%% causing database lookups to fail; addressed in luaotfload since
+%% https://github.com/phi-gamma/luaotfload/commit/4d0d2c19ab36d4918a72041a087fbcb451ac8c52
+\setmonofont{Linux Libertine Mono O}
+%% ····································································
+
+\begin{document}
+ foo {\ttfamily bar} baz
+\end{document}