aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2010-02-27 10:18:07 -0500
committerChong Yidong2010-02-27 10:18:07 -0500
commita908c79a8f256b35548a65d14fff11fbecde1c9f (patch)
tree39001f532cad99c04a15c44ef778b765fce09adf
parent4a16bdc69083f3397b52c459cce3d527c8e21951 (diff)
downloademacs-a908c79a8f256b35548a65d14fff11fbecde1c9f.tar.gz
emacs-a908c79a8f256b35548a65d14fff11fbecde1c9f.zip
Document :otf font-spec property.
* display.texi (Low-Level Font): Document :otf font-spec property.
-rw-r--r--doc/lispref/ChangeLog4
-rw-r--r--doc/lispref/display.texi20
2 files changed, 24 insertions, 0 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index f155c9575fa..26314eadc8e 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,7 @@
12010-02-27 Chong Yidong <cyd@stupidchicken.com>
2
3 * display.texi (Low-Level Font): Document :otf font-spec property.
4
12010-02-01 Stefan Monnier <monnier@iro.umontreal.ca> 52010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
2 6
3 * display.texi (Line Height): Avoid obsolete special default variables 7 * display.texi (Line Height): Avoid obsolete special default variables
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 91a71c54a6d..68631dcdefc 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -3068,6 +3068,26 @@ The charset registry and encoding of the font, such as
3068 3068
3069@item :script 3069@item :script
3070The script that the font must support (a symbol). 3070The script that the font must support (a symbol).
3071
3072@item :otf
3073The font must be an OpenType font that supports these OpenType
3074features, provided Emacs is compiled with support for @samp{libotf} (a
3075library for performing complex text layout in certain scripts). The
3076value must be a list of the form
3077
3078@smallexample
3079@code{(@var{script-tag} @var{langsys-tag} @var{gsub} @var{gpos})}
3080@end smallexample
3081
3082where @var{script-tag} is the OpenType script tag symbol;
3083@var{langsys-tag} is the OpenType language system tag symbol, or
3084@code{nil} to use the default language system; @code{gsub} is a list
3085of OpenType GSUB feature tag symbols, or @code{nil} if none is
3086required; and @code{gpos} is a list of OpenType GPOS feature tag
3087symbols, or @code{nil} if none is required. If @code{gsub} or
3088@code{gpos} is a list, a @code{nil} element in that list means that
3089the font must not match any of the remaining tag symbols. The
3090@code{gpos} element may be omitted.
3071@end table 3091@end table
3072@end defun 3092@end defun
3073 3093