diff options
author | Po Lu <luangruo@yahoo.com> | 2022-05-10 16:01:00 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-05-10 16:01:00 +0800 |
commit | c7b48b61d08f0b6a08584080badc60fe62ba1db1 (patch) | |
tree | 95e56e1618c7286f27b0e2eac781380bc9c8c8cf /src/nsfont.m | |
parent | 88545428f0962081e776d903e05dd787677b320a (diff) | |
download | emacs-c7b48b61d08f0b6a08584080badc60fe62ba1db1.tar.gz |
Improve display of reliefs on NS
* src/nsfont.m (nsfont_draw): Don't compensate for left box
twice.
* src/nsterm.m (ns_draw_relief): Draw outer edges of box like on
X.
Diffstat (limited to 'src/nsfont.m')
-rw-r--r-- | src/nsfont.m | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/nsfont.m b/src/nsfont.m index e913a50cb69..ae5e134e15b 100644 --- a/src/nsfont.m +++ b/src/nsfont.m @@ -1177,9 +1177,6 @@ nsfont_draw (struct glyph_string *s, int from, int to, int x, int y, face = s->face; r.origin.x = x; - if (s->face->box != FACE_NO_BOX && s->first_glyph->left_box_line_p) - r.origin.x += max (s->face->box_vertical_line_width, 0); - r.origin.y = y; r.size.height = FONT_HEIGHT (font); |