diff options
author | Eli Zaretskii <eliz@gnu.org> | 2020-11-19 22:06:23 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2020-11-19 22:06:23 +0200 |
commit | f641ef1a0712d5ca1a9a6dc39d4f0846b11bc26b (patch) | |
tree | 6911e71f8747babe00a15d0643ad5c53f244b49e /doc | |
parent | 9d02e6c5ff2a8af78ca8a2c934970f8a46dcef55 (diff) | |
download | emacs-f641ef1a0712d5ca1a9a6dc39d4f0846b11bc26b.tar.gz |
Improve documentation of 'font-spec'
* doc/lispref/display.texi (Low-Level Font):
* src/font.c (Ffont_spec): Document 'font-spec' keys that are
supported, but were undocumented.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lispref/display.texi | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index be2de000c35..39cc270a5fd 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi @@ -3734,6 +3734,20 @@ Additional typographic style information for the font, such as The charset registry and encoding of the font, such as @samp{iso8859-1}. The value should be a string or a symbol. +@item :dpi +The resolution in dots per inch for which the font is designed. The +value must be a non-negative number. + +@item :spacing +The spacing of the font: proportional, dual, mono, or charcell. The +value should be either an integer (0 for proportional, 90 for dual, +100 for mono, 110 for charcell) or a one-letter symbol (one of +@code{P}, @code{D}, @code{M}, or @code{C}). + +@item :avgwidth +The average width of the font in 1/10 pixel units. The value should +be a non-negative number. + @item :script The script that the font must support (a symbol). |