diff options
| author | Alp Aker | 2011-07-28 14:26:29 -0400 |
|---|---|---|
| committer | Chong Yidong | 2011-07-28 14:26:29 -0400 |
| commit | 4843aac304884a75581bcc27454cb9fc4353f036 (patch) | |
| tree | 07866fa7e7fbf056ba614ca67d7d97ced8c12bd7 /src/alloc.c | |
| parent | bc7ece8713dd2e9f6f6497c62b300f7d07cdcc6e (diff) | |
| download | emacs-4843aac304884a75581bcc27454cb9fc4353f036.tar.gz emacs-4843aac304884a75581bcc27454cb9fc4353f036.zip | |
Implement strike-through and overline on NextStep (Bug#8863).
* src/nsfont.m (nsfont_open): Use underline position provided by font,
instead of hard-coded value of 2.
(nsfont_draw): Call ns_draw_text_decoration instead.
* src/nsterm.h: Add declaration for ns_draw_text_decoration.
* src/nsterm.m (ns_draw_text_decoration): New function for drawing
underline, overline, and strike-through.
(ns_dumpglyphs_image, ns_dumpglyphs_stretch): Add call to
ns_draw_text_decoration. Change treatment of cursor drawing to
accomodate underlining, etc.
Diffstat (limited to 'src/alloc.c')
0 files changed, 0 insertions, 0 deletions