]> git.eshelyaron.com Git - emacs.git/commit
Implement dots and dashes on X
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:31 +0000 (17:05 +0200)
commit63a3ebdd3106a3c789659b94927f441cdafb9db3
treef27834bb36650ff4f91b8af6908f40afd6c1fbd9
parent97f2d7dfac56cd571c371876a4a988b981572ffb
Implement dots and dashes on X

* src/dispextern.h (enum face_underline_type): Indent and expand
commentary as to the new dependency on the order of its
enumerals.

* src/xfaces.c (realize_gui_face): Enable dots and dashes on
window systems.

* src/xterm.c (x_draw_underwave): Don't define unused variable
on Cairo builds.
(x_draw_dash): New function; implement for X and Cairo.
(x_fill_underline): New function.  Delegate to x_fill_rectangle
or x_draw_dash as appropriate.
(x_draw_glyph_string): Call x_fill_underline rather than
x_fill_rectangle.

(cherry picked from commit e844b81c56d74aa2b2efa0ce98ed3de71647e656)
src/dispextern.h
src/xfaces.c
src/xterm.c