]> code.delx.au - gnu-emacs/blobdiff - src/fontset.c
Merge from origin/emacs-25
[gnu-emacs] / src / fontset.c
index 2bc9bb1fcd94420ce5984ad5d18e14f3279ece6c..4ab13674318d588797c067f62090a2c2a664ed05 100644 (file)
@@ -13,8 +13,8 @@ This file is part of GNU Emacs.
 
 GNU Emacs is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
+the Free Software Foundation, either version 3 of the License, or (at
+your option) any later version.
 
 GNU Emacs is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -498,7 +498,7 @@ fontset_get_font_group (Lisp_Object fontset, int c)
       font_group = make_number (0);
       if (c >= 0)
        /* Record that FONTSET does not specify fonts for C.  As
-          there's a possiblity that a font is found in a fallback
+          there's a possibility that a font is found in a fallback
           font group, we set 0 at the moment.  */
        char_table_set_range (fontset, from, to, font_group);
       return font_group;
@@ -541,7 +541,7 @@ fontset_get_font_group (Lisp_Object fontset, int c)
    If FALLBACK, search only fallback fonts.  */
 
 static Lisp_Object
-fontset_find_font (Lisp_Object fontset, int c, struct face *face, 
+fontset_find_font (Lisp_Object fontset, int c, struct face *face,
                   int charset_id, bool fallback)
 {
   Lisp_Object vec, font_group;
@@ -585,7 +585,7 @@ fontset_find_font (Lisp_Object fontset, int c, struct face *face,
     }
 
   /* Find the first available font in the vector of RFONT-DEF.  If
-     CHARSET_MATCHED > 0, try the correspoing RFONT-DEF first, then
+     CHARSET_MATCHED > 0, try the corresponding RFONT-DEF first, then
      try the rest.  */
   for (i = 0; i < ASIZE (vec); i++)
     {