diff options
author | Eli Zaretskii <eliz@gnu.org> | 2015-06-13 13:23:42 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2015-06-13 13:23:42 +0300 |
commit | f75d189ed87d4a5bcad5eb1b9c54382e6b7802dc (patch) | |
tree | bafc72c0ab803339ebce7f7cc40cdd0437a5f92a /src/font.c | |
parent | 2f6956a0383f56c55d308d8ba8f10c052cd89c3e (diff) | |
download | emacs-f75d189ed87d4a5bcad5eb1b9c54382e6b7802dc.tar.gz |
Improve documentation of ':lang' in font specs
* src/font.c (Ffont_spec): Doc fix: elaborate on the values and
use of the ':lang' property of the font spec.
* doc/emacs/frames.texi (Fonts): Document the language names that
can be in the STYLE part of XLFD.
* doc/lispref/display.texi (Low-Level Font): Document the ':lang'
property.
Diffstat (limited to 'src/font.c')
-rw-r--r-- | src/font.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/font.c b/src/font.c index 7aa0e8537ce..564c53ae54e 100644 --- a/src/font.c +++ b/src/font.c @@ -3857,8 +3857,10 @@ listed in the variable `script-representative-chars'. `:lang' -VALUE must be a symbol of two-letter ISO-639 language names, -e.g. `ja'. +VALUE must be a symbol whose name is a two-letter ISO-639 language +name, e.g. `ja'. The value is matched against the "Additional Style" +field of the XLFD spec of a font, if it's non-empty, on X, and +against the codepages supported by the font on w32. `:otf' |