summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/luaotfload.conf.example30
-rw-r--r--doc/luaotfload.conf.rst2
2 files changed, 31 insertions, 1 deletions
diff --git a/doc/luaotfload.conf.example b/doc/luaotfload.conf.example
new file mode 100644
index 0000000..ddf438e
--- /dev/null
+++ b/doc/luaotfload.conf.example
@@ -0,0 +1,30 @@
+;; Example configuration file for Luaotfload. This file contains the
+;; defaults only.
+
+[db]
+ compress = true
+ formats = otf, ttf, ttc, dfont
+ max-fonts = 2.2517998136852e15
+ scan-local = false
+ skip-read = false
+ strip = true
+ update-live = true
+
+[misc]
+ statistics = false
+ termwidth = nil
+
+[paths]
+ cache-dir = fonts
+ names-dir = names
+ index-file = luaotfload-names.lua
+ lookups-file = luaotfload-lookup-cache.lua
+
+[run]
+ color-callback = pre_linebreak_filter
+ definer = patch
+ log-level = 0
+ resolver = cached
+
+;; vim:ft=dosini:et:sw=4:ts=8
+
diff --git a/doc/luaotfload.conf.rst b/doc/luaotfload.conf.rst
index 561ca97..9940be2 100644
--- a/doc/luaotfload.conf.rst
+++ b/doc/luaotfload.conf.rst
@@ -170,7 +170,7 @@ Section ``misc``
+---------------+--------+-------------------------+
| termwidth | n | ``nil`` |
+---------------+--------+-------------------------+
-| version | s | ``luaotfload.version`` |
+| version | s | <Luaotfload version> |
+---------------+--------+-------------------------+
With ``statistics`` enabled, extra statistics will be collected during