[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: |
Werner LEMBERG |
Subject: |
bug#22699: 25.0.91; Accented characters truncated with DejaVu Sans Mono |
Date: |
Tue, 23 Feb 2016 19:44:30 +0100 (CET) |
>> 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}.
For the sake of compatibility with Windows, I recommend that the
DejaVu people slightly increase `usWinAscent'.
Please forward this to the DejaVu bug tracker :-)
Werner
bug#22699: 25.0.91; Accented characters truncated with DejaVu Sans Mono, Andy Moreton, 2016/02/23