summaryrefslogtreecommitdiff
path: root/doc/context/sources/general/manuals/luatex/luatex-fonts.tex
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2018-09-26 15:15:30 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2018-09-26 15:15:30 +0200
commitd6c24a529d922ac67d2a30595c52b6b9547dce77 (patch)
tree9143971200bbe13e5b945a295b1c5d9c6ca4f04b /doc/context/sources/general/manuals/luatex/luatex-fonts.tex
parent28f104e641e84d484a22266d87536ef7d765b223 (diff)
downloadcontext-d6c24a529d922ac67d2a30595c52b6b9547dce77.tar.gz
2018-09-26 14:34:00
Diffstat (limited to 'doc/context/sources/general/manuals/luatex/luatex-fonts.tex')
-rw-r--r--doc/context/sources/general/manuals/luatex/luatex-fonts.tex12
1 files changed, 9 insertions, 3 deletions
diff --git a/doc/context/sources/general/manuals/luatex/luatex-fonts.tex b/doc/context/sources/general/manuals/luatex/luatex-fonts.tex
index 189e3295e..6f71877fb 100644
--- a/doc/context/sources/general/manuals/luatex/luatex-fonts.tex
+++ b/doc/context/sources/general/manuals/luatex/luatex-fonts.tex
@@ -713,9 +713,15 @@ font.setfont(<number> n, <table> f)
\stopfunctioncall
Note that at the moment, each access to the \type {font.fonts} or call to \type
-{font.getfont} creates a \LUA\ table for the whole font. This process can be
-quite slow. In a later version of \LUATEX, this interface will change (it will
-start using userdata objects instead of actual tables).
+{font.getfont} creates a \LUA\ table for the whole font unless you cached it.
+This process can be quite slow.
+
+\startfunctioncall
+<table> p = font.getparameters(<number> n)
+\stopfunctioncall
+
+This one will return a table of the parameters as known to \TEX. These can be
+different from the ones in the cached table.
Also note the following: assignments can only be made to fonts that have already
been defined in \TEX, but have not been accessed {\it at all\/} since that