aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog.2103
1 files changed, 0 insertions, 103 deletions
diff --git a/ChangeLog.2 b/ChangeLog.2
index b3a5a85885e..ef261f17f19 100644
--- a/ChangeLog.2
+++ b/ChangeLog.2
@@ -489,22 +489,6 @@
489 * src/w32fns.c (syms_of_w32fns): ... to here, 489 * src/w32fns.c (syms_of_w32fns): ... to here,
490 as these are used only on MS-Windows. 490 as these are used only on MS-Windows.
491 491
4922015-05-31 Eli Zaretskii <eliz@gnu.org>
493
494 Attempt to fix crashes due to accesses beyond glyph matrix end
495 * src/xdisp.c (x_produce_glyphs): When it->ascent and it->descent
496 are determined from per-character metrics, don't let the
497 max_ascent and max_descent become smaller than values returned by
498 normal_char_ascent_descent, to avoid unpleasant dynamic resizing
499 of screen line heights when text changes.
500 * src/xterm.c (x_new_font)
501 * src/w32term.c (x_new_font): Call get_font_ascent_descent to
502 obtain a reasonable value for FRAME_LINE_HEIGHT, even when a font
503 claims very large value for its height.
504 * src/font.c (font_open_entity): Call get_font_ascent_descent to
505 obtain a reasonable value for FRAME_SMALLEST_FONT_HEIGHT, even
506 when a font claims very large value for its height.
507
5082015-05-31 Michael Albinus <michael.albinus@gmx.de> 4922015-05-31 Michael Albinus <michael.albinus@gmx.de>
509 493
510 Use another default value for tramp-histfile-override 494 Use another default value for tramp-histfile-override
@@ -512,97 +496,10 @@
512 Use ".tramp_history" as default. 496 Use ".tramp_history" as default.
513 Fixes: debbugs:#20446 497 Fixes: debbugs:#20446
514 498
5152015-05-30 Eli Zaretskii <eliz@gnu.org>
516
517 Fix display of composite characters with large fonts
518 * src/xdisp.c (x_produce_glyphs): Call normal_char_ascent_descent
519 for reasonable values of font ascent and descent.
520 (get_font_ascent_descent): New function.
521 * src/composite.c (composition_gstring_width): Call
522 get_font_ascent_descent for reasonable values of font ascent and
523 descent.
524 * dispextern.h: Add prototype for get_font_ascent_descent.
525
526 Fix display of cursor at end of empty lines
527 * src/xdisp.c (normal_char_ascent_descent): Accept additional
528 argument: the character to use for metrics in case the font
529 declares too large ascent and descent values. Add 1 pixel to
530 ascent and descent values.
531 (normal_char_height): Accept additional argument: the character to
532 use for metrics in case the font declares too large height value.
533 Call normal_char_ascent_descent instead of doing calculations for
534 a different default character.
535 (estimate_mode_line_height, handle_single_display_spec)
536 (calc_pixel_width_or_height, produce_stretch_glyph)
537 (calc_line_height_property, produce_glyphless_glyph): All callers
538 changed.
539 (append_space_for_newline): Make sure the space glyph produced at
540 end of line has correct ascent and descent values, and the glyph
541 row has correct height, even when it's empty.
542
5432015-05-29 Eli Zaretskii <eliz@gnu.org>
544
545 Fix 2 more calculations of line height
546 * src/xdisp.c (estimate_mode_line_height, handle_single_display_spec):
547 Use normal_char_height.
548
549 Fix line dimensions from line-height property
550 * src/xdisp.c (normal_char_ascent_descent): New function,
551 extracted from produce_glyphless_glyph.
552 (calc_line_height_property, produce_glyphless_glyph): Use it to
553 compute reasonable estimates of ascent and descent for large
554 fonts.
555
556 Fix display of stretch glyphs with large fonts
557 * src/xdisp.c (normal_char_height): New function.
558 (calc_pixel_width_or_height, produce_stretch_glyph): Use it to
559 compute more reasonable estimation of a "normal character height"
560 when the font claims preposterously large height values.
561
5622015-05-29 Nicolas Petton <nicolas@petton.fr> 4992015-05-29 Nicolas Petton <nicolas@petton.fr>
563 500
564 * doc/emacs/emacs.texi: Update the ISBN of the Emacs manual. 501 * doc/emacs/emacs.texi: Update the ISBN of the Emacs manual.
565 502
5662015-05-28 Eli Zaretskii <eliz@gnu.org>
567
568 Fix display of glyphless characters with problematic fonts
569 * src/w32term.c (x_draw_glyph_string_background): Force redraw of
570 glyph string background also when the font in use claims
571 preposterously large global height value. Helps to remove
572 artifacts left from previous displays when glyphless characters
573 are displayed as hex code in a box.
574 * src/xterm.c (x_draw_glyph_string_background): Force redraw of
575 glyph string background also when the font in use claims
576 preposterously large global height value. Helps to remove
577 artifacts left from previous displays when glyphless characters
578 are displayed as hex code in a box.
579 * src/w32font.c (w32font_draw): Fix background drawing for
580 glyphless characters that display as acronyms or hex codes in a
581 box.
582 * src/xftfont.c (xftfont_draw): Fix background drawing for
583 glyphless characters that display as acronyms or hex codes in a
584 box.
585 * src/xdisp.c (produce_glyphless_glyph): Compute reasonable values
586 for it->ascent and it->descent when the font claims preposterously
587 large global values.
588 (FONT_TOO_HIGH): Move from here...
589 * src/dispextern.h (FONT_TOO_HIGH): ...to here.
590
5912015-05-27 Eli Zaretskii <eliz@gnu.org>
592
593 Avoid very high screen lines with some fonts
594 * src/xdisp.c (get_phys_cursor_geometry): Adjust the height of the
595 cursor to avoid weird-looking hollow cursor with fonts that have
596 large ascent values for some glyphs. This avoids having the
597 hollow cursor start too low.
598 (append_space_for_newline): Adjust the ascent value of the newline
599 glyph, so that the hollow cursor at end of line displays
600 correctly.
601 (FONT_TOO_HIGH): New macro.
602 (x_produce_glyphs): Use it to detect fonts that claim a
603 preposterously large height, in which case we use per-glyph ascent
604 and descent values. (Bug#20628)
605
6062015-05-16 Nicolas Petton <nicolas@petton.fr> 5032015-05-16 Nicolas Petton <nicolas@petton.fr>
607 504
608 * etc/NEWS: Add an entry about map.el 505 * etc/NEWS: Add an entry about map.el