+2008-05-20 Juanma Barranquero <lekktu@gmail.com>
+
+ * fontset.c (Ffontset_info): Doc fix.
+ (syms_of_fontset) <font-encoding-charset-alist, use-default-ascent>:
+ <ignore-relative-composition>: Fix typos in docstrings.
+
+ * font.c (syms-of-font) <font-encoding-alist>:
+ (Ffontp, Ffont_make_gstring): Fix typos in docstrings.
+ (Flist_fonts, Ffont_family_list, Ffont_fill_gstring, Fquery_font)
+ (Ffont_otf_alternates): Doc fixes.
+
2008-05-20 Kenichi Handa <handa@m17n.org>
* Makefile.in (FONTSRC): Delete it. Change all $(FONTSRC) to
Copyright (C) 2003, 2006
National Institute of Advanced Industrial Science and Technology (AIST)
Registration Number H13PRO009
-
+
This file is part of GNU Emacs.
GNU Emacs is free software: you can redistribute it and/or modify
base: nil
realized: Alist of font index vs the corresponding repertory
char-table.
-
+
The 8th slot:
base: nil
realized: If the base is not the default fontset, a fontset
int score = 0;
if (! NILP (repertory))
- {
+ {
Lisp_Object tail;
for (score = 0xFFFF, tail = Vcharset_ordered_list;
}
RFONT_DEF_SET_OBJECT (elt, font_object);
}
-
+
if (font_has_char (f, font_object, c))
return elt;
if (! NILP (FONTSET_DEFAULT (fontset)))
{
int id = XINT (FONTSET_ID (FONTSET_DEFAULT (fontset)));
-
+
fontset = AREF (Vfontset_table, id);
xassert (!NILP (fontset) && ! BASE_FONTSET_P (fontset));
xassert (f == XFRAME (FONTSET_FRAME (fontset)));
DEFUN ("fontset-info", Ffontset_info, Sfontset_info, 1, 2, 0,
doc: /* Return information about a fontset FONTSET on frame FRAME.
-The value is a char-table of which elements has this form.
+The value is a char-table whose elements have this form:
((FONT-PATTERN OPENED-FONT ...) ...)
The char-table has one extra slot. The value is a char-table
containing the information about the derived fonts from the default
-fontset. The format is the same as abobe. */)
+fontset. The format is the same as above. */)
(fontset, frame)
Lisp_Object fontset, frame;
{
DEFVAR_LISP ("font-encoding-charset-alist", &Vfont_encoding_charset_alist,
doc: /*
Alist of charsets vs the charsets to determine the preferred font encoding.
-Each element looks like (CHARSET . ENCDOING-CHARSET),
+Each element looks like (CHARSET . ENCODING-CHARSET),
where ENCODING-CHARSET is a charset registered in the variable
`font-encoding-alist' as ENCODING.
doc: /*
Char table of characters whose ascent values should be ignored.
If an entry for a character is non-nil, the ascent value of the glyph
-is assumed to be what specified by _MULE_DEFAULT_ASCENT property of a font.
+is assumed to be specified by _MULE_DEFAULT_ASCENT property of a font.
This affects how a composite character which contains
such a character is displayed on screen. */);
DEFVAR_LISP ("ignore-relative-composition", &Vignore_relative_composition,
doc: /*
-Char table of characters which is not composed relatively.
+Char table of characters which are not composed relatively.
If an entry for a character is non-nil, a composition sequence
which contains that character is displayed so that
the glyph of that character is put without considering