Your message dated Tue, 02 Jun 2015 11:19:02 +0200
with message-id <[email protected]>
and subject line closing bugs reported against ancient emacs versions
has caused the Debian Bug report #422608,
regarding incorrect font metrics with truetype font
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
422608: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=422608
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: emacs21
Version: 21.4a+1-3
When I run Emacs with a particular monospaced font (-misc-dejavu sans
mono-medium-r-normal--15-150-75-75-m-0-iso10646-1), the main window
isn't dimensioned correctly: it should be 80 characters wide (and the
width is actually displayed to be 80 when I try to resize it), but only
72 characters fit within. Also the tab spacing isn't correct: it should
be eight caracters, but it's roughly seven.
I think that Emacs is incorrectly computing the font width to be 9
pixels instead of 10 (9*80 = 10*72), but when it actually prints
characters, it does place them at 10 pixels from each other, hence the
misfit. The vertical spacing of the text is incorrect as well, as there
is some unwanted blank space between lines (spacing is 23 pixels instead
of 19).
I'm attaching a screenshot that shows an Emacs window and a Gnome
Terminal that is using the same font (it's the default monospaced font
used by Gnome, at size 12 -- thus I'd really like to also use it in
Emacs), so that you can see the difference.
I'm running Etch (Version: field set accordingly), but I recall having
already experienced this on Sarge with another TrueType font (didn't
report a bug at the time). I don't know whether this also applies to
Sid.
Steps to reproduce the problem:
- install ttf-dejavu font package (should be already there if Gnome is
installed)
- install x-ttcidfont-conf package (configures TrueType fonts for X11)
- run: emacs -geometry 80x33 -fn "-misc-dejavu sans
mono-medium-r-normal--15-150-75-75-m-0-iso10646-1"
- try to fit 80 characters within a line
Footnote: the font is a scalable font and xlsfonts only shows
"-misc-dejavu sans mono-medium-r-normal--0-0-0-0-m-0-iso10646-1".
However Emacs (and I guess all other X11 applications, but I haven't
tried) does accept 15-150-75-75 in place of 0-0-0-0, which is required
to get the font at the size I want.
Thank you
Gerardo
--- End Message ---
--- Begin Message ---
This bug has been reported against an ancient version of emacs (emacs21,
emacs22) that is no longer supported. It is assumed to be fixed (or no
longer relevant) in newer releases and therefore I'm closing this report
now. If the problem is still reproducible in the current version
(emacs24), feel free to provide more information and reopen this bug report.
Andreas
--- End Message ---