diff options
| author | Eli Zaretskii | 2017-06-30 11:43:49 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2017-06-30 11:43:49 +0300 |
| commit | dfe1c820d3dca6673aba911a4a37969bbabd0486 (patch) | |
| tree | 9a4e2e8f8b0e245ff29617dcd1efd21ff9b9df33 /src/buffer.h | |
| parent | 5b9b49492b9c024bd07b83ef6e5d095af6b8fdd0 (diff) | |
| download | emacs-dfe1c820d3dca6673aba911a4a37969bbabd0486.tar.gz emacs-dfe1c820d3dca6673aba911a4a37969bbabd0486.zip | |
Fix TAB display when the line-number face uses a smaller/larger font
* src/dispextern.h (struct it): New member lnum_pixel_width.
* src/xdisp.c (maybe_produce_line_number): Compute the width of
the line-number display in pixels.
(x_produce_glyphs): Use it->lnum_pixel_width instead of a kludge
that used it->lnum_width and made assumptions about pixel width.
Diffstat (limited to 'src/buffer.h')
0 files changed, 0 insertions, 0 deletions