diff options
author | Hans Hagen <pragma@wxs.nl> | 2018-09-26 15:15:30 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2018-09-26 15:15:30 +0200 |
commit | d6c24a529d922ac67d2a30595c52b6b9547dce77 (patch) | |
tree | 9143971200bbe13e5b945a295b1c5d9c6ca4f04b /doc/context/sources/general/manuals | |
parent | 28f104e641e84d484a22266d87536ef7d765b223 (diff) | |
download | context-d6c24a529d922ac67d2a30595c52b6b9547dce77.tar.gz |
2018-09-26 14:34:00
Diffstat (limited to 'doc/context/sources/general/manuals')
-rw-r--r-- | doc/context/sources/general/manuals/luatex/luatex-fonts.tex | 12 | ||||
-rw-r--r-- | doc/context/sources/general/manuals/luatex/luatex-nodes.tex | 3 |
2 files changed, 11 insertions, 4 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 diff --git a/doc/context/sources/general/manuals/luatex/luatex-nodes.tex b/doc/context/sources/general/manuals/luatex/luatex-nodes.tex index 2793a1af7..40324cd7b 100644 --- a/doc/context/sources/general/manuals/luatex/luatex-nodes.tex +++ b/doc/context/sources/general/manuals/luatex/luatex-nodes.tex @@ -312,7 +312,8 @@ to make the encapsulating box fit its dimensions. For instance, in a paragraph lines normally have glue representing spaces and these stretch or shrink to make the content fit in the available space. The \type {effective_glue} function that takes a glue node and a parent (hlist or vlist) returns the effective width of -that glue item. +that glue item. When you pass \type {true} as third argument the value will be +rounded. A \nod {glue_spec} node is a special kind of node that is used for storing a set of glue values in registers. Originally they were also used to store properties |