static void
fontset_add (fontset, range, elt, add)
+ Lisp_Object fontset, range, elt, add;
{
int from, to, from1, to1;
Lisp_Object elt1;
int i, i0 = 1, i1 = ASIZE (elt1) + 1;
Lisp_Object new;
- new = Fmake_vector (i1, elt);
+ new = Fmake_vector (make_number (i1), elt);
if (EQ (add, Qappend))
i0--, i1--;
for (i = 0; i0 < i1; i++, i0++)
int c;
{
Lisp_Object fontset;
- Lisp_Object elt, vec;
- int font_idx;
- int i;
if (ASCII_CHAR_P (c))
return face->ascii_face->id;
CHARACTER may be a script name symbol. In that case, use FONT-SPEC
for all characters that belong to the script.
-CHARACTER may be a charset who has :code-offset attribute and the
+CHARACTER may be a charset which has a :code-offset attribute and the
attribute value is greater than the maximum Unicode character
\(#x10FFFF). In that case, use FONT-SPEC for all characters in the
charset.
-FONT-SPEC is a vector; [ FAMILY WEIGHT SLANT ADSTYLE REGISTRY ].
-See the documentation of `set-face-attribute' for the detail of
-these vector elements.
-
-FONT-SPEC may be a cons; (FAMILY . REGISTRY).
-
-FONT-SPEC may be a font name string.
+FONT-SPEC may be:
+ * A vector [ FAMILY WEIGHT SLANT WIDTH ADSTYLE REGISTRY ].
+ See the documentation of `set-face-attribute' for the detail of
+ these vector elements;
+* A cons (FAMILY . REGISTRY), where FAMILY is a font family name and
+ REGISTRY is a font registry name;
+ * A font name string.
Optional 4th argument FRAME, if non-nil, is a frame. This argument is
kept for backward compatibility and has no meaning.
Lisp_Object name, character, font_spec, frame, add;
{
Lisp_Object fontset;
- int i;
Lisp_Object font_def, registry;
- Lisp_Object val, encoding, repertory;
+ Lisp_Object encoding, repertory;
Lisp_Object range_list;
fontset = check_fontset_name (name);
FRAME_PTR f;
Lisp_Object table, val, elt;
Lisp_Object *realized;
- struct font_info *fontp = NULL;
int n_realized = 0;
int c, i, j;