From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#22699: 25.0.91; Accented characters truncated with DejaVu Sans Mono Date: Mon, 22 Feb 2016 20:17:39 +0200 Message-ID: <834md0lid8.fsf@gnu.org> References: <56C33EC8.9050309@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1456165104 12180 80.91.229.3 (22 Feb 2016 18:18:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Feb 2016 18:18:24 +0000 (UTC) Cc: 22699@debbugs.gnu.org To: Andy Moreton Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 22 19:18:13 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aXv3j-0004U3-Bz for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Feb 2016 19:18:11 +0100 Original-Received: from localhost ([::1]:51071 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXv3i-0002F1-Jt for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Feb 2016 13:18:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56936) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXv3e-0002Ee-2J for bug-gnu-emacs@gnu.org; Mon, 22 Feb 2016 13:18:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXv3a-0007xy-6G for bug-gnu-emacs@gnu.org; Mon, 22 Feb 2016 13:18:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41271) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXv3a-0007xu-2T for bug-gnu-emacs@gnu.org; Mon, 22 Feb 2016 13:18:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aXv3Z-0000ux-Uw for bug-gnu-emacs@gnu.org; Mon, 22 Feb 2016 13:18:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Feb 2016 18:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22699 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22699-submit@debbugs.gnu.org id=B22699.14561650783518 (code B ref 22699); Mon, 22 Feb 2016 18:18:01 +0000 Original-Received: (at 22699) by debbugs.gnu.org; 22 Feb 2016 18:17:58 +0000 Original-Received: from localhost ([127.0.0.1]:38398 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aXv3W-0000ug-2e for submit@debbugs.gnu.org; Mon, 22 Feb 2016 13:17:58 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:37665) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aXv3V-0000uV-FB for 22699@debbugs.gnu.org; Mon, 22 Feb 2016 13:17:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXv3N-0007uH-Q4 for 22699@debbugs.gnu.org; Mon, 22 Feb 2016 13:17:52 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42288) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXv3N-0007uD-MP; Mon, 22 Feb 2016 13:17:49 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1449 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aXv3M-0003kT-1e; Mon, 22 Feb 2016 13:17:49 -0500 In-reply-to: <56C33EC8.9050309@gmail.com> (message from Andy Moreton on Tue, 16 Feb 2016 15:22:48 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:113479 Archived-At: > From: Andy Moreton > Date: Tue, 16 Feb 2016 15:22:48 +0000 > > With DejaVu Sans Mono (version 2.35), accented characters are not > displayed properly at some sizes, and appear truncated at the top (as if > a pixel row is missing). > > For example, LATIN SMALL LETTER A WITH RING ABOVE "å" > > Displays properly > ----------------- > In Windows font dialog, choose "Deja Vu Sans Mono", "Bold", "9" > > `describe-char' shows the font as: > uniscribe:-outline-DejaVu Sans > Mono-bold-normal-normal-mono-12-*-*-*-c-*-iso8859-1 (#xA7) > > Top of ring is clipped > ---------------------- > In Windows font dialog, choose "Deja Vu Sans Mono", "Book", "9" > > `describe-char' shows the font as: > uniscribe:-outline-DejaVu Sans Mono-normal-normal-normal-mono-12-*-*-*-c-*-= > iso8859-1 (#xA7) > > This only appears with DejaVu Sans Mono version 2.35 at this size, with the > "Book" or "Oblique" font styles (larger or smaller sizes display > properly). Thanks. I wonder how to make sure this is an Emacs problem and not a problem with the font. E.g., does some other version of Emacs display this font at this size correctly? Bonus points for stepping through w32term.c:x_draw_glyph_string_foreground and looking for what's going wrong with these characters of this font, as compared to some others. Maybe there's something unusual in the metrics of this font, and we don't handle that situation correctly?