[luatex] Logging of font names in box log output
Hans Hagen
pragma at wxs.nl
Wed Sep 9 19:17:16 CEST 2015
On 9/9/2015 5:21 PM, David Carlisle wrote:
> a) list the new primitive \fontid in section 2.7 (or wherever else you
> feel makes sense)
done
> b) document that the define_font callback can return a fontid
> (integer) The manual
> documents it as returning a table, which meant I didn't know what to do having
> detected a duplicate, but I found this text in the changelog which led
> to the above.
>
> * The 'define_font' callback interface has changed a little.
> It is now:
> retval = function (name,size,fontid)
>
> where fontid is the internal font number of the font that
> is currently being defined, and retval can be either a table
> (as before) or a different, previously defined fontid. This is
> useful if a previous definition can be reused instead of
> creating a whole new font structure.
done
it could be the id of an already defined font (e.g. with font.define)
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
More information about the luatex
mailing list