aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog11
-rw-r--r--src/fontset.c20
2 files changed, 21 insertions, 10 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 3769839b9e1..7348347a380 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,14 @@
12008-05-20 Juanma Barranquero <lekktu@gmail.com>
2
3 * fontset.c (Ffontset_info): Doc fix.
4 (syms_of_fontset) <font-encoding-charset-alist, use-default-ascent>:
5 <ignore-relative-composition>: Fix typos in docstrings.
6
7 * font.c (syms-of-font) <font-encoding-alist>:
8 (Ffontp, Ffont_make_gstring): Fix typos in docstrings.
9 (Flist_fonts, Ffont_family_list, Ffont_fill_gstring, Fquery_font)
10 (Ffont_otf_alternates): Doc fixes.
11
12008-05-20 Kenichi Handa <handa@m17n.org> 122008-05-20 Kenichi Handa <handa@m17n.org>
2 13
3 * Makefile.in (FONTSRC): Delete it. Change all $(FONTSRC) to 14 * Makefile.in (FONTSRC): Delete it. Change all $(FONTSRC) to
diff --git a/src/fontset.c b/src/fontset.c
index db62e534921..92c9f2a2268 100644
--- a/src/fontset.c
+++ b/src/fontset.c
@@ -8,7 +8,7 @@
8 Copyright (C) 2003, 2006 8 Copyright (C) 2003, 2006
9 National Institute of Advanced Industrial Science and Technology (AIST) 9 National Institute of Advanced Industrial Science and Technology (AIST)
10 Registration Number H13PRO009 10 Registration Number H13PRO009
11 11
12This file is part of GNU Emacs. 12This file is part of GNU Emacs.
13 13
14GNU Emacs is free software: you can redistribute it and/or modify 14GNU Emacs is free software: you can redistribute it and/or modify
@@ -140,7 +140,7 @@ EXFUN (Fclear_face_cache, 1);
140 base: nil 140 base: nil
141 realized: Alist of font index vs the corresponding repertory 141 realized: Alist of font index vs the corresponding repertory
142 char-table. 142 char-table.
143 143
144 The 8th slot: 144 The 8th slot:
145 base: nil 145 base: nil
146 realized: If the base is not the default fontset, a fontset 146 realized: If the base is not the default fontset, a fontset
@@ -417,7 +417,7 @@ reorder_font_vector (font_group, preferred_family)
417 int score = 0; 417 int score = 0;
418 418
419 if (! NILP (repertory)) 419 if (! NILP (repertory))
420 { 420 {
421 Lisp_Object tail; 421 Lisp_Object tail;
422 422
423 for (score = 0xFFFF, tail = Vcharset_ordered_list; 423 for (score = 0xFFFF, tail = Vcharset_ordered_list;
@@ -617,7 +617,7 @@ fontset_find_font (fontset, c, face, id, fallback)
617 } 617 }
618 RFONT_DEF_SET_OBJECT (elt, font_object); 618 RFONT_DEF_SET_OBJECT (elt, font_object);
619 } 619 }
620 620
621 if (font_has_char (f, font_object, c)) 621 if (font_has_char (f, font_object, c))
622 return elt; 622 return elt;
623 623
@@ -835,7 +835,7 @@ free_face_fontset (f, face)
835 if (! NILP (FONTSET_DEFAULT (fontset))) 835 if (! NILP (FONTSET_DEFAULT (fontset)))
836 { 836 {
837 int id = XINT (FONTSET_ID (FONTSET_DEFAULT (fontset))); 837 int id = XINT (FONTSET_ID (FONTSET_DEFAULT (fontset)));
838 838
839 fontset = AREF (Vfontset_table, id); 839 fontset = AREF (Vfontset_table, id);
840 xassert (!NILP (fontset) && ! BASE_FONTSET_P (fontset)); 840 xassert (!NILP (fontset) && ! BASE_FONTSET_P (fontset));
841 xassert (f == XFRAME (FONTSET_FRAME (fontset))); 841 xassert (f == XFRAME (FONTSET_FRAME (fontset)));
@@ -1777,7 +1777,7 @@ DEFUN ("internal-char-font", Finternal_char_font, Sinternal_char_font, 1, 2, 0,
1777 1777
1778DEFUN ("fontset-info", Ffontset_info, Sfontset_info, 1, 2, 0, 1778DEFUN ("fontset-info", Ffontset_info, Sfontset_info, 1, 2, 0,
1779 doc: /* Return information about a fontset FONTSET on frame FRAME. 1779 doc: /* Return information about a fontset FONTSET on frame FRAME.
1780The value is a char-table of which elements has this form. 1780The value is a char-table whose elements have this form:
1781 1781
1782 ((FONT-PATTERN OPENED-FONT ...) ...) 1782 ((FONT-PATTERN OPENED-FONT ...) ...)
1783 1783
@@ -1791,7 +1791,7 @@ OPENED-FONT is a name of a font actually opened.
1791 1791
1792The char-table has one extra slot. The value is a char-table 1792The char-table has one extra slot. The value is a char-table
1793containing the information about the derived fonts from the default 1793containing the information about the derived fonts from the default
1794fontset. The format is the same as abobe. */) 1794fontset. The format is the same as above. */)
1795 (fontset, frame) 1795 (fontset, frame)
1796 Lisp_Object fontset, frame; 1796 Lisp_Object fontset, frame;
1797{ 1797{
@@ -2076,7 +2076,7 @@ syms_of_fontset ()
2076 DEFVAR_LISP ("font-encoding-charset-alist", &Vfont_encoding_charset_alist, 2076 DEFVAR_LISP ("font-encoding-charset-alist", &Vfont_encoding_charset_alist,
2077 doc: /* 2077 doc: /*
2078Alist of charsets vs the charsets to determine the preferred font encoding. 2078Alist of charsets vs the charsets to determine the preferred font encoding.
2079Each element looks like (CHARSET . ENCDOING-CHARSET), 2079Each element looks like (CHARSET . ENCODING-CHARSET),
2080where ENCODING-CHARSET is a charset registered in the variable 2080where ENCODING-CHARSET is a charset registered in the variable
2081`font-encoding-alist' as ENCODING. 2081`font-encoding-alist' as ENCODING.
2082 2082
@@ -2088,7 +2088,7 @@ whose encoding corresponds to ENCODING-CHARSET is preferred. */);
2088 doc: /* 2088 doc: /*
2089Char table of characters whose ascent values should be ignored. 2089Char table of characters whose ascent values should be ignored.
2090If an entry for a character is non-nil, the ascent value of the glyph 2090If an entry for a character is non-nil, the ascent value of the glyph
2091is assumed to be what specified by _MULE_DEFAULT_ASCENT property of a font. 2091is assumed to be specified by _MULE_DEFAULT_ASCENT property of a font.
2092 2092
2093This affects how a composite character which contains 2093This affects how a composite character which contains
2094such a character is displayed on screen. */); 2094such a character is displayed on screen. */);
@@ -2096,7 +2096,7 @@ such a character is displayed on screen. */);
2096 2096
2097 DEFVAR_LISP ("ignore-relative-composition", &Vignore_relative_composition, 2097 DEFVAR_LISP ("ignore-relative-composition", &Vignore_relative_composition,
2098 doc: /* 2098 doc: /*
2099Char table of characters which is not composed relatively. 2099Char table of characters which are not composed relatively.
2100If an entry for a character is non-nil, a composition sequence 2100If an entry for a character is non-nil, a composition sequence
2101which contains that character is displayed so that 2101which contains that character is displayed so that
2102the glyph of that character is put without considering 2102the glyph of that character is put without considering