summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2014-07-13 13:17:18 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2014-07-13 13:17:18 +0200
commitdcbfa2c743d14a60037ac3c61f0d7cba339696cd (patch)
tree57f874a3bfbb133c2568c1c87722d8a984badd17 /doc
parent18aceb2612c0352535aa07ca9628d9cbc5285c19 (diff)
downloadluaotfload-dcbfa2c743d14a60037ac3c61f0d7cba339696cd.tar.gz
[conf] add example configuration file
Diffstat (limited to 'doc')
-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