diff options
| author | Juanma Barranquero | 2008-05-20 16:33:58 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2008-05-20 16:33:58 +0000 |
| commit | eb152aa90b1fe5539028d66cfedb880e9d0a6b8f (patch) | |
| tree | 86e403e045ef4d79a96b063607349090967ed61b /src | |
| parent | 027a33c045d32eb47a22224e1921c2c477077b24 (diff) | |
| download | emacs-eb152aa90b1fe5539028d66cfedb880e9d0a6b8f.tar.gz emacs-eb152aa90b1fe5539028d66cfedb880e9d0a6b8f.zip | |
(Ffontset_info): Doc fix.
(syms_of_fontset) <font-encoding-charset-alist, use-default-ascent>:
<ignore-relative-composition>: Fix typos in docstrings.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 11 | ||||
| -rw-r--r-- | src/fontset.c | 20 |
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 @@ | |||
| 1 | 2008-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 | |||
| 1 | 2008-05-20 Kenichi Handa <handa@m17n.org> | 12 | 2008-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 | ||
| 12 | This file is part of GNU Emacs. | 12 | This file is part of GNU Emacs. |
| 13 | 13 | ||
| 14 | GNU Emacs is free software: you can redistribute it and/or modify | 14 | GNU 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 | ||
| 1778 | DEFUN ("fontset-info", Ffontset_info, Sfontset_info, 1, 2, 0, | 1778 | DEFUN ("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. |
| 1780 | The value is a char-table of which elements has this form. | 1780 | The 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 | ||
| 1792 | The char-table has one extra slot. The value is a char-table | 1792 | The char-table has one extra slot. The value is a char-table |
| 1793 | containing the information about the derived fonts from the default | 1793 | containing the information about the derived fonts from the default |
| 1794 | fontset. The format is the same as abobe. */) | 1794 | fontset. 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: /* |
| 2078 | Alist of charsets vs the charsets to determine the preferred font encoding. | 2078 | Alist of charsets vs the charsets to determine the preferred font encoding. |
| 2079 | Each element looks like (CHARSET . ENCDOING-CHARSET), | 2079 | Each element looks like (CHARSET . ENCODING-CHARSET), |
| 2080 | where ENCODING-CHARSET is a charset registered in the variable | 2080 | where 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: /* |
| 2089 | Char table of characters whose ascent values should be ignored. | 2089 | Char table of characters whose ascent values should be ignored. |
| 2090 | If an entry for a character is non-nil, the ascent value of the glyph | 2090 | If an entry for a character is non-nil, the ascent value of the glyph |
| 2091 | is assumed to be what specified by _MULE_DEFAULT_ASCENT property of a font. | 2091 | is assumed to be specified by _MULE_DEFAULT_ASCENT property of a font. |
| 2092 | 2092 | ||
| 2093 | This affects how a composite character which contains | 2093 | This affects how a composite character which contains |
| 2094 | such a character is displayed on screen. */); | 2094 | such 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: /* |
| 2099 | Char table of characters which is not composed relatively. | 2099 | Char table of characters which are not composed relatively. |
| 2100 | If an entry for a character is non-nil, a composition sequence | 2100 | If an entry for a character is non-nil, a composition sequence |
| 2101 | which contains that character is displayed so that | 2101 | which contains that character is displayed so that |
| 2102 | the glyph of that character is put without considering | 2102 | the glyph of that character is put without considering |