[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#22699: 25.0.91; Accented characters truncated with DejaVu Sans Mono
From: |
Andy Moreton |
Subject: |
bug#22699: 25.0.91; Accented characters truncated with DejaVu Sans Mono |
Date: |
Tue, 23 Feb 2016 23:22:58 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.91 (windows-nt) |
On Tue 23 Feb 2016, Werner LEMBERG wrote:
>>> As mentioned earlier, you might check the `Aringacute' glyph in
>>> arial.ttf – if it is cropped, you probably have an old engine that
>>> suffers the usWin{Ascent,Descent} limitations.
>>
>> That one is not cropped in Emacs, at least AFAICS.
>
> OK, then maybe the MS people have fixed this meanwhile.
>
> Anyways, I've now looked at the TrueType bytecode of the `aring' glyph
> in DejaVuSansMono-Bold.ttf font (v2.34), and it confirms my guess: At
> 12ppem (this is 9pt at 96dpi), the bytecode moves the `ring' subglyph
> up one pixel so that the top pixel row is outside the range spanned up
> by usWin{Ascent,Descent}.
The Bold style displays properly though - it is the Book style that clips
the top of the glyph.
> For the sake of compatibility with Windows, I recommend that the
> DejaVu people slightly increase `usWinAscent'.
>
> Please forward this to the DejaVu bug tracker :-)
Indeed. Thanks for looking at this.
AndyM
bug#22699: 25.0.91; Accented characters truncated with DejaVu Sans Mono,
Andy Moreton <=