[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Native line numbers, final testing
From: |
James Cloos |
Subject: |
Re: Native line numbers, final testing |
Date: |
Sun, 09 Jul 2017 16:16:23 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
Eli,
Having re-compiled master, I tried out the native line numbers, by
chance in a buffer in variable-pitch-mode. It looks like the display
uses SPACE (U+20) or SPACE's width to offset the digits.
It would look better if it used FIGURE SPACE (U+2007) or FIGURE SPACE's
width instead. Then the line numbers would, err, line up.
The code might need to check whether the current face provides a glyph
for FIGURE SPACE.
Alternatively, use the width of one of the digits (such as DIGIT EIGHT)
to determine how many pixels to skip.
Otherwise, it looks and works great.
-JimC
--
James Cloos <address@hidden> OpenPGP: 0x997A9F17ED7DAEA6
- Re: Native line numbers, final testing, (continued)
- Re: Native line numbers, final testing, Alex, 2017/07/03
- Re: Native line numbers, final testing, Eli Zaretskii, 2017/07/03
- Re: Native line numbers, final testing, Alex, 2017/07/04
- Re: Native line numbers, final testing, Eli Zaretskii, 2017/07/05
- Re: Native line numbers, final testing, Alex, 2017/07/06
- Re: Native line numbers, final testing, Eli Zaretskii, 2017/07/07
- Re: Native line numbers, final testing, Eli Zaretskii, 2017/07/07
- Re: Native line numbers, final testing, Alex, 2017/07/08
- Re: Native line numbers, final testing,
James Cloos <=
- Re: Native line numbers, final testing, Yuri Khan, 2017/07/09
- Re: Native line numbers, final testing, Eli Zaretskii, 2017/07/09
- Re: Native line numbers, final testing, Yuri Khan, 2017/07/10
- Re: Native line numbers, final testing, Eli Zaretskii, 2017/07/10
- Re: Native line numbers, final testing, Eli Zaretskii, 2017/07/09
- Re: Native line numbers, final testing, James Cloos, 2017/07/10
- Re: Native line numbers, final testing, Eli Zaretskii, 2017/07/10
- Re: Native line numbers, final testing, Filipe Silva, 2017/07/10
- Re: Native line numbers, final testing, Eli Zaretskii, 2017/07/10
- Re: Native line numbers, final testing, Filipe Silva, 2017/07/10