summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-04-25 11:48:43 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-04-25 11:48:43 +0200
commitc81bffaf9ac987ee48fe06700bf218391a045780 (patch)
tree93892443b1a7b76976a4d621be15c95c1d69948a
parent7bf46ad63839d6e38a9c1e11ec7d4fba27d1bc51 (diff)
downloadluaotfload-c81bffaf9ac987ee48fe06700bf218391a045780.tar.gz
add test for non-standard fonts
-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}