]> git.eshelyaron.com Git - emacs.git/commit
Port double-line underlines to GUI systems
authorPo Lu <luangruo@yahoo.com>
Thu, 1 Jan 1970 00:00:00 +0000 (00:00 +0000)
committerEshel Yaron <me@eshelyaron.com>
Mon, 29 Apr 2024 15:05:27 +0000 (17:05 +0200)
commit97f2d7dfac56cd571c371876a4a988b981572ffb
treed9ca5e621a7bc32d489d22a98622c9e635a612c6
parent02611b128f1a67a836532b699fb956a1a4868601
Port double-line underlines to GUI systems

* src/xterm.c (x_get_scale_factor): Replace display in first
argument with a pointer to dpyinfo.
(x_draw_underwave): Adjust to match.
(x_draw_glyph_string): Implement double-line underlines.

* src/androidterm.c (android_get_scale_factor)
(android_draw_glyph_string):

* src/haikuterm.c (haiku_draw_text_decoration):

* src/nsterm.m (ns_draw_text_decoration):

* src/pgtkterm.c (pgtk_draw_glyph_string):

* src/w32term.c (w32_draw_glyph_string): Synchronize with X.

* src/xfaces.c (realize_gui_face): Enable `double-line' on
window systems.

(cherry picked from commit 77a170a175dfeb17dab23e41668b8497b8b3b9d7)
src/androidterm.c
src/haikuterm.c
src/nsterm.m
src/pgtkterm.c
src/w32term.c
src/xfaces.c
src/xterm.c