diff options
author | Philipp Gesang <phg@phi-gamma.net> | 2015-11-07 08:44:55 +0100 |
---|---|---|
committer | Philipp Gesang <phg@phi-gamma.net> | 2015-11-07 08:44:55 +0100 |
commit | 55945326011925fa81cca8cf2b5b9376025451a5 (patch) | |
tree | 6546b041e3cb4edd8ccbdcd1a09ef3127d219315 /doc | |
parent | 54e6a5293dbff1e3775c2c3478b80c244608a4a5 (diff) | |
download | luaotfload-55945326011925fa81cca8cf2b5b9376025451a5.tar.gz |
[doc] introduce fontloader switching
Diffstat (limited to 'doc')
-rw-r--r-- | doc/luaotfload-main.tex | 31 |
1 files changed, 26 insertions, 5 deletions
diff --git a/doc/luaotfload-main.tex b/doc/luaotfload-main.tex index 112572f..cc242e8 100644 --- a/doc/luaotfload-main.tex +++ b/doc/luaotfload-main.tex @@ -43,6 +43,11 @@ This package is an adaptation of the \CONTEXT font loading system. It allows for loading \OpenType fonts with an extended syntax and adds support for a variety of font features. + + After discussion of the font loading API, this manual gives an + overview of the core components of \identifier{Luaotfload}: The + packaged font loader code, the names database, configuration, and + helper functions on the \LUA\ end. \endabstractcontent \endfrontmatter @@ -1056,9 +1061,11 @@ An example with explicit paths: \endsection %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\beginsection {The Fontloader Package} +\beginsection {The Fontloader} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\beginsubsection {Overview} + To a large extent, \identifier{luaotfload} relies on code originally written by Hans Hagen for the \hyperlink[\identifier{\CONTEXT}]{http://wiki.contextgarden.net} @@ -1086,6 +1093,10 @@ This job has been greatly alleviated since the advent of manually spotted and extracted from the \CONTEXT source code in a complicated and error-prone fashion. +\endsubsection + +\beginsubsection {Contents and Dependencies} + Below is a commented list of the files distributed with \identifier{luaotfload} in one way or the other. % @@ -1260,14 +1271,23 @@ files not contained in the merge. Some of these have no equivalent in {Schematic of the files in \identifier{Luaotfload}} {filegraph.pdf} -\endsection +\endsubsection -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\beginsection {Packaging a Fontloader} -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\beginsubsection {Packaging} + +The fontloader code is integrated as an isolated component that can be +switched out on demand. +To specify the fontloader you wish to use, the configuration file +(described in section \ref{sec:conf}) provides the option +\inlinecode{fontloader}. Its value can be one of the identifiers +\inlinecode{default} or \inlinecode{reference} or the name of a file +somewhere in the search path of \LUATEX. TODO % it’s simple, though +\endsubsection +\endsection + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \beginsection {Configuration Files} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1277,6 +1297,7 @@ TODO % it’s simple, though manpage for \fileent{luaotfload.conf(5)}. \endnarrower +\label{sec:conf} The runtime behavior of \identifier{Luaotfload} can be customized by means of a configuration file. % location |