diff options
| author | Paul Eggert | 2019-12-10 20:04:36 -0800 |
|---|---|---|
| committer | Paul Eggert | 2019-12-10 20:05:49 -0800 |
| commit | b0f20651e3cbb8a66f11ffae4c18634019c20cd4 (patch) | |
| tree | 067bcb8fa529b4afee6d189f409faf16bd437810 /src | |
| parent | 0940296ebe56ebdf9c32e94191d4f0b18006a910 (diff) | |
| download | emacs-b0f20651e3cbb8a66f11ffae4c18634019c20cd4.tar.gz emacs-b0f20651e3cbb8a66f11ffae4c18634019c20cd4.zip | |
; Spelling fixes
Diffstat (limited to 'src')
| -rw-r--r-- | src/hbfont.c | 6 | ||||
| -rw-r--r-- | src/window.c | 2 | ||||
| -rw-r--r-- | src/xdisp.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/hbfont.c b/src/hbfont.c index 5a057c26a1d..2150b6656e1 100644 --- a/src/hbfont.c +++ b/src/hbfont.c | |||
| @@ -358,8 +358,8 @@ get_hb_unicode_funcs (void) | |||
| 358 | hb_unicode_funcs_set_general_category_func (funcs, uni_general, NULL, NULL); | 358 | hb_unicode_funcs_set_general_category_func (funcs, uni_general, NULL, NULL); |
| 359 | hb_unicode_funcs_set_mirroring_func (funcs, uni_mirroring, NULL, NULL); | 359 | hb_unicode_funcs_set_mirroring_func (funcs, uni_mirroring, NULL, NULL); |
| 360 | 360 | ||
| 361 | /* Use default implmentation for Unicode composition/decomposition, we might | 361 | /* Use default implementation for Unicode composition/decomposition. |
| 362 | * want to revisit this later. | 362 | We might want to revisit this later. |
| 363 | hb_unicode_funcs_set_compose_func (funcs, uni_compose, NULL, NULL); | 363 | hb_unicode_funcs_set_compose_func (funcs, uni_compose, NULL, NULL); |
| 364 | hb_unicode_funcs_set_decompose_func (funcs, uni_decompose, NULL, NULL); | 364 | hb_unicode_funcs_set_decompose_func (funcs, uni_decompose, NULL, NULL); |
| 365 | */ | 365 | */ |
| @@ -379,7 +379,7 @@ get_hb_unicode_funcs (void) | |||
| 379 | (N+1)th element of LGSTRING is nil, input of shaping is from the | 379 | (N+1)th element of LGSTRING is nil, input of shaping is from the |
| 380 | 1st to (N)th elements. In each input glyph, FROM, TO, CHAR, and | 380 | 1st to (N)th elements. In each input glyph, FROM, TO, CHAR, and |
| 381 | CODE are already set, but FROM and TO need adjustments according | 381 | CODE are already set, but FROM and TO need adjustments according |
| 382 | to the glyphs produced by the shaping fuinction. | 382 | to the glyphs produced by the shaping function. |
| 383 | DIRECTION is either L2R or R2L, or nil if unknown. During | 383 | DIRECTION is either L2R or R2L, or nil if unknown. During |
| 384 | redisplay, this comes from applying the UBA, is passed from | 384 | redisplay, this comes from applying the UBA, is passed from |
| 385 | composition_reseat_it, and is used by the HarfBuzz shaper. | 385 | composition_reseat_it, and is used by the HarfBuzz shaper. |
diff --git a/src/window.c b/src/window.c index 1984a540add..c52a8ca2855 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -7617,7 +7617,7 @@ set_window_fringes (struct window *w, | |||
| 7617 | else | 7617 | else |
| 7618 | failed = true; | 7618 | failed = true; |
| 7619 | 7619 | ||
| 7620 | /* Placing fringes ouside margins. */ | 7620 | /* Placing fringes outside margins. */ |
| 7621 | if (outside != w->fringes_outside_margins) | 7621 | if (outside != w->fringes_outside_margins) |
| 7622 | { | 7622 | { |
| 7623 | w->fringes_outside_margins = outside; | 7623 | w->fringes_outside_margins = outside; |
diff --git a/src/xdisp.c b/src/xdisp.c index 2467b336f4a..08c6927052c 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -21693,7 +21693,7 @@ extend_face_to_end_of_line (struct it *it) | |||
| 21693 | && indicator_column < it->last_visible_x) | 21693 | && indicator_column < it->last_visible_x) |
| 21694 | { | 21694 | { |
| 21695 | 21695 | ||
| 21696 | /* Here we substract char_width because we want the | 21696 | /* Here we subtract char_width because we want the |
| 21697 | column indicator in the column INDICATOR_COLUMN, | 21697 | column indicator in the column INDICATOR_COLUMN, |
| 21698 | not after it. */ | 21698 | not after it. */ |
| 21699 | const int stretch_width = | 21699 | const int stretch_width = |
| @@ -21865,7 +21865,7 @@ extend_face_to_end_of_line (struct it *it) | |||
| 21865 | /* We need to subtract 1 to the indicator_column here because we | 21865 | /* We need to subtract 1 to the indicator_column here because we |
| 21866 | will add the indicator IN the column indicator number, not | 21866 | will add the indicator IN the column indicator number, not |
| 21867 | after it. We compare the variable it->current_x before | 21867 | after it. We compare the variable it->current_x before |
| 21868 | producing the glyph. When FRAME_WINDOW_P we substract | 21868 | producing the glyph. When FRAME_WINDOW_P we subtract |
| 21869 | CHAR_WIDTH calculating STRETCH_WIDTH for the same reason. */ | 21869 | CHAR_WIDTH calculating STRETCH_WIDTH for the same reason. */ |
| 21870 | const int indicator_column = | 21870 | const int indicator_column = |
| 21871 | fill_column_indicator_column (it, 1) - 1; | 21871 | fill_column_indicator_column (it, 1) - 1; |