aboutsummaryrefslogtreecommitdiffstats
path: root/src/ftfont.c
diff options
context:
space:
mode:
authorJoakim Verona2011-11-22 15:46:22 +0100
committerJoakim Verona2011-11-22 15:46:22 +0100
commita9c1e05adddf6011c61c0df582c5f2ed423f35c8 (patch)
tree489fac119296416ba2f3530fd3bcb70efbbbdaa6 /src/ftfont.c
parent40bb789236e486a3f36eefb2840c293369ce2af3 (diff)
parentb5afc20930c91159a1cbf629bcaa7e251653dc74 (diff)
downloademacs-a9c1e05adddf6011c61c0df582c5f2ed423f35c8.tar.gz
emacs-a9c1e05adddf6011c61c0df582c5f2ed423f35c8.zip
upstream
Diffstat (limited to 'src/ftfont.c')
-rw-r--r--src/ftfont.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ftfont.c b/src/ftfont.c
index 7858a31be21..5c540f9bf82 100644
--- a/src/ftfont.c
+++ b/src/ftfont.c
@@ -272,7 +272,7 @@ ftfont_pattern_entity (FcPattern *p, Lisp_Object extra)
272 } 272 }
273 else 273 else
274 { 274 {
275 /* As this font is not scalable, parhaps this is a BDF or PCF 275 /* As this font is not scalable, perhaps this is a BDF or PCF
276 font. */ 276 font. */
277 FT_Face ft_face; 277 FT_Face ft_face;
278 278
@@ -730,7 +730,7 @@ ftfont_spec_pattern (Lisp_Object spec, char *otlayout, struct OpenTypeSpec **ots
730 730
731 if ((n = FONT_SLANT_NUMERIC (spec)) >= 0 731 if ((n = FONT_SLANT_NUMERIC (spec)) >= 0
732 && n < 100) 732 && n < 100)
733 /* Fontconfig doesn't support reverse-italic/obligue. */ 733 /* Fontconfig doesn't support reverse-italic/oblique. */
734 return NULL; 734 return NULL;
735 735
736 if (INTEGERP (AREF (spec, FONT_DPI_INDEX))) 736 if (INTEGERP (AREF (spec, FONT_DPI_INDEX)))