# HG changeset patch # User Chong Yidong # Date 1267283887 18000 # Node ID c7093188c80643c4d98679d19d76255b88bce865 # Parent ac1f51a0b37f4b6e08280f1ff0de493d780b07f0 Document :otf font-spec property. * display.texi (Low-Level Font): Document :otf font-spec property. diff -r ac1f51a0b37f -r c7093188c806 doc/lispref/ChangeLog --- a/doc/lispref/ChangeLog Sat Feb 27 10:02:09 2010 -0500 +++ b/doc/lispref/ChangeLog Sat Feb 27 10:18:07 2010 -0500 @@ -1,3 +1,7 @@ +2010-02-27 Chong Yidong + + * display.texi (Low-Level Font): Document :otf font-spec property. + 2010-02-01 Stefan Monnier * display.texi (Line Height): Avoid obsolete special default variables diff -r ac1f51a0b37f -r c7093188c806 doc/lispref/display.texi --- a/doc/lispref/display.texi Sat Feb 27 10:02:09 2010 -0500 +++ b/doc/lispref/display.texi Sat Feb 27 10:18:07 2010 -0500 @@ -3068,6 +3068,26 @@ @item :script The script that the font must support (a symbol). + +@item :otf +The font must be an OpenType font that supports these OpenType +features, provided Emacs is compiled with support for @samp{libotf} (a +library for performing complex text layout in certain scripts). The +value must be a list of the form + +@smallexample +@code{(@var{script-tag} @var{langsys-tag} @var{gsub} @var{gpos})} +@end smallexample + +where @var{script-tag} is the OpenType script tag symbol; +@var{langsys-tag} is the OpenType language system tag symbol, or +@code{nil} to use the default language system; @code{gsub} is a list +of OpenType GSUB feature tag symbols, or @code{nil} if none is +required; and @code{gpos} is a list of OpenType GPOS feature tag +symbols, or @code{nil} if none is required. If @code{gsub} or +@code{gpos} is a list, a @code{nil} element in that list means that +the font must not match any of the remaining tag symbols. The +@code{gpos} element may be omitted. @end table @end defun