diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2010-10-14 14:25:35 +0200 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2010-10-14 14:25:35 +0200 |
commit | 9d4f32e88a1b642070f0adb41df04a0846c31970 (patch) | |
tree | cff0fcdf72b79fb162729dc607933296b65d63b1 /src/w32uniscribe.c | |
parent | 9650fc61909f4b0b142770b269d1905a41aa672d (diff) | |
download | emacs-9d4f32e88a1b642070f0adb41df04a0846c31970.tar.gz emacs-9d4f32e88a1b642070f0adb41df04a0846c31970.tar.bz2 emacs-9d4f32e88a1b642070f0adb41df04a0846c31970.zip |
src/w32*.c: Whitespace fixes and typos.
Diffstat (limited to 'src/w32uniscribe.c')
-rw-r--r-- | src/w32uniscribe.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/w32uniscribe.c b/src/w32uniscribe.c index 9cd1ac6426c..6d75aa27f8a 100644 --- a/src/w32uniscribe.c +++ b/src/w32uniscribe.c @@ -175,7 +175,7 @@ uniscribe_otf_capability (font) f = XFRAME (selected_frame); context = get_frame_dc (f); - old_font = SelectObject (context, FONT_HANDLE(font)); + old_font = SelectObject (context, FONT_HANDLE (font)); features = otf_features (context, "GSUB"); XSETCAR (capability, features); @@ -287,7 +287,7 @@ uniscribe_shape (lgstring) passed in. */ f = XFRAME (selected_frame); context = get_frame_dc (f); - old_font = SelectObject (context, FONT_HANDLE(font)); + old_font = SelectObject (context, FONT_HANDLE (font)); result = ScriptShape (context, &(uniscribe_font->cache), chars + items[i].iCharPos, nchars_in_run, @@ -322,7 +322,7 @@ uniscribe_shape (lgstring) /* Cache not complete... */ f = XFRAME (selected_frame); context = get_frame_dc (f); - old_font = SelectObject (context, FONT_HANDLE(font)); + old_font = SelectObject (context, FONT_HANDLE (font)); result = ScriptPlace (context, &(uniscribe_font->cache), glyphs, nglyphs, attributes, &(items[i].a), @@ -397,7 +397,7 @@ uniscribe_shape (lgstring) /* Cache incomplete... */ f = XFRAME (selected_frame); context = get_frame_dc (f); - old_font = SelectObject (context, FONT_HANDLE(font)); + old_font = SelectObject (context, FONT_HANDLE (font)); result = ScriptGetGlyphABCWidth (context, &(uniscribe_font->cache), glyphs[j], &char_metric); @@ -509,7 +509,7 @@ uniscribe_encode_char (font, c) the frame. */ f = XFRAME (selected_frame); context = get_frame_dc (f); - old_font = SelectObject (context, FONT_HANDLE(font)); + old_font = SelectObject (context, FONT_HANDLE (font)); result = ScriptShape (context, &(uniscribe_font->cache), ch, len, 2, &(items[0].a), glyphs, clusters, attrs, &nglyphs); @@ -650,7 +650,8 @@ static char* NOTHING = " "; /* Check if font supports the otf script/language/features specified. OTF_SPEC is in the format (script lang [(gsub_feature ...)|nil] [(gpos_feature ...)]?) */ -int uniscribe_check_otf (font, otf_spec) +int +uniscribe_check_otf (font, otf_spec) LOGFONT *font; Lisp_Object otf_spec; { @@ -947,7 +948,7 @@ struct font_driver uniscribe_font_driver = NULL, /* get_outline */ NULL, /* free_outline */ NULL, /* anchor_point */ - uniscribe_otf_capability, /* Defined so (font-get FONTOBJ :otf) works. */ + uniscribe_otf_capability, /* Defined so (font-get FONTOBJ :otf) works. */ NULL, /* otf_drive - use shape instead. */ NULL, /* start_for_frame */ NULL, /* end_for_frame */ |