aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJuanma Barranquero2008-06-01 21:26:53 +0000
committerJuanma Barranquero2008-06-01 21:26:53 +0000
commit2a46904e0e465a5c7d22328fb3a983cfe2319b1e (patch)
tree05c722daa8736812aebd12f0eb0db75dd0ce357e /src
parent39dd4d5263d69d25d217941d9420f573a64a607f (diff)
downloademacs-2a46904e0e465a5c7d22328fb3a983cfe2319b1e.tar.gz
emacs-2a46904e0e465a5c7d22328fb3a983cfe2319b1e.zip
Fix typo in comment.
Diffstat (limited to 'src')
-rw-r--r--src/ftfont.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/ftfont.c b/src/ftfont.c
index bc8c4406257..bd7c374f6cd 100644
--- a/src/ftfont.c
+++ b/src/ftfont.c
@@ -42,7 +42,7 @@ Lisp_Object Qfreetype;
42/* Fontconfig's generic families and their aliases. */ 42/* Fontconfig's generic families and their aliases. */
43static Lisp_Object Qmonospace, Qsans_serif, Qserif, Qmono, Qsans, Qsans__serif; 43static Lisp_Object Qmonospace, Qsans_serif, Qserif, Qmono, Qsans, Qsans__serif;
44 44
45/* Flag to tell if FcInit is areadly called or not. */ 45/* Flag to tell if FcInit is already called or not. */
46static int fc_initialized; 46static int fc_initialized;
47 47
48/* Handle to a FreeType library instance. */ 48/* Handle to a FreeType library instance. */
@@ -360,7 +360,7 @@ ftfont_get_charset (registry)
360 FcCharSetDestroy (charset); 360 FcCharSetDestroy (charset);
361 return -1; 361 return -1;
362 } 362 }
363 fc_charset_table[i].fc_charset = charset; 363 fc_charset_table[i].fc_charset = charset;
364 } 364 }
365 return i; 365 return i;
366} 366}
@@ -420,7 +420,7 @@ ftfont_get_open_type_spec (Lisp_Object otf_spec)
420 { 420 {
421 Lisp_Object len; 421 Lisp_Object len;
422 422
423 otf_spec = XCDR (otf_spec); 423 otf_spec = XCDR (otf_spec);
424 if (NILP (otf_spec)) 424 if (NILP (otf_spec))
425 break; 425 break;
426 val = XCAR (otf_spec); 426 val = XCAR (otf_spec);
@@ -628,7 +628,7 @@ ftfont_list (frame, spec)
628 char otlayout[15]; /* For "otlayout:XXXX" */ 628 char otlayout[15]; /* For "otlayout:XXXX" */
629 struct OpenTypeSpec *otspec = NULL; 629 struct OpenTypeSpec *otspec = NULL;
630 int spacing = -1; 630 int spacing = -1;
631 631
632 if (! fc_initialized) 632 if (! fc_initialized)
633 { 633 {
634 FcInit (); 634 FcInit ();
@@ -1004,7 +1004,7 @@ ftfont_close (f, font)
1004 FT_Done_Size (ftfont_info->ft_size); 1004 FT_Done_Size (ftfont_info->ft_size);
1005} 1005}
1006 1006
1007static int 1007static int
1008ftfont_has_char (entity, c) 1008ftfont_has_char (entity, c)
1009 Lisp_Object entity; 1009 Lisp_Object entity;
1010 int c; 1010 int c;
@@ -1225,7 +1225,7 @@ ftfont_get_metrics (font, gstring, from, to)
1225 return 0; 1225 return 0;
1226} 1226}
1227 1227
1228static int 1228static int
1229ftfont_check_otf (MFLTFont *font, MFLTOtfSpec *spec) 1229ftfont_check_otf (MFLTFont *font, MFLTOtfSpec *spec)
1230{ 1230{
1231 struct MFLTFontFT *flt_font_ft = (struct MFLTFontFT *) font; 1231 struct MFLTFontFT *flt_font_ft = (struct MFLTFontFT *) font;
@@ -1289,7 +1289,7 @@ adjust_anchor (FT_Face ft_face, OTF_Anchor *anchor,
1289 1289
1290static OTF_GlyphString otf_gstring; 1290static OTF_GlyphString otf_gstring;
1291 1291
1292static int 1292static int
1293ftfont_drive_otf (font, spec, in, from, to, out, adjustment) 1293ftfont_drive_otf (font, spec, in, from, to, out, adjustment)
1294 MFLTFont *font; 1294 MFLTFont *font;
1295 MFLTOtfSpec *spec; 1295 MFLTOtfSpec *spec;
@@ -1716,9 +1716,9 @@ ftfont_font_format (FcPattern *pattern)
1716 return intern ("truetype"); 1716 return intern ("truetype");
1717 if (strcmp ((char *) str, "Type 1") == 0) 1717 if (strcmp ((char *) str, "Type 1") == 0)
1718 return intern ("type1"); 1718 return intern ("type1");
1719 if (strcmp ((char *) str, "PCF") == 0) 1719 if (strcmp ((char *) str, "PCF") == 0)
1720 return intern ("pcf"); 1720 return intern ("pcf");
1721 if (strcmp ((char *) str, "BDF") == 0) 1721 if (strcmp ((char *) str, "BDF") == 0)
1722 return intern ("bdf"); 1722 return intern ("bdf");
1723#else /* not FC_FONTFORMAT */ 1723#else /* not FC_FONTFORMAT */
1724 if (FcPatternGetString (pattern, FC_FILE, 0, &str) != FcResultMatch) 1724 if (FcPatternGetString (pattern, FC_FILE, 0, &str) != FcResultMatch)
@@ -1731,9 +1731,9 @@ ftfont_font_format (FcPattern *pattern)
1731 return intern ("truetype"); 1731 return intern ("truetype");
1732 if (xstrcasecmp ((char *) str, "pfb") == 0) 1732 if (xstrcasecmp ((char *) str, "pfb") == 0)
1733 return intern ("type1"); 1733 return intern ("type1");
1734 if (xstrcasecmp ((char *) str, "pcf") == 0) 1734 if (xstrcasecmp ((char *) str, "pcf") == 0)
1735 return intern ("pcf"); 1735 return intern ("pcf");
1736 if (xstrcasecmp ((char *) str, "bdf") == 0) 1736 if (xstrcasecmp ((char *) str, "bdf") == 0)
1737 return intern ("bdf"); 1737 return intern ("bdf");
1738 } 1738 }
1739#endif /* not FC_FONTFORMAT */ 1739#endif /* not FC_FONTFORMAT */