From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.devel Subject: Re: Emacs fullscreen and sizes in frame parameters Date: Mon, 10 Jun 2013 18:10:59 +0200 Message-ID: <87zjuyosj0.fsf@engster.org> References: <87txl8dzsm.fsf@engster.org> <83d2rwrokg.fsf@gnu.org> <87ppvveq6o.fsf@engster.org> <87mwqzsq47.fsf@engster.org> <87bo7fsjuv.fsf@engster.org> <2B4B8654-6ED8-4A9A-90B3-49E8A683C39A@mit.edu> <877gi3ruqk.fsf@engster.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1370880679 32687 80.91.229.3 (10 Jun 2013 16:11:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Jun 2013 16:11:19 +0000 (UTC) To: "emacs-devel\@gnu.org Development" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 10 18:11:20 2013 Return-path: Envelope-to: ged-emacs-devel@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 1Um4gh-0006k1-2w for ged-emacs-devel@m.gmane.org; Mon, 10 Jun 2013 18:11:19 +0200 Original-Received: from localhost ([::1]:42201 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Um4gg-0002hJ-Jd for ged-emacs-devel@m.gmane.org; Mon, 10 Jun 2013 12:11:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33666) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Um4gb-0002bS-78 for emacs-devel@gnu.org; Mon, 10 Jun 2013 12:11:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Um4gY-0002Ep-Qu for emacs-devel@gnu.org; Mon, 10 Jun 2013 12:11:13 -0400 Original-Received: from randomsample.de ([83.169.19.17]:53648) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Um4gY-0002Cq-Fa for emacs-devel@gnu.org; Mon, 10 Jun 2013 12:11:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:To:From; bh=PQvr/e4jzsCAvzmyCBTf2DRY9rJRut+m+DXfZjMuZWk=; b=lfdoauIH0RyKIvxgVnSFDRON7b/njYP2d7xS9okCs6iA8LDFRwSQcagh+sDUhrPvm3xzBsvu5yrkvm2ZFOVifUMRaexEvASz+VXTAag34A4tipTar3Rs2vmXGSkR+Vvf; Original-Received: from dslc-082-083-063-111.pools.arcor-ip.net ([82.83.63.111] helo=spaten) by randomsample.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Um4gR-00012o-Rs for emacs-devel@gnu.org; Mon, 10 Jun 2013 18:11:04 +0200 In-Reply-To: <877gi3ruqk.fsf@engster.org> (David Engster's message of "Sun, 09 Jun 2013 20:42:43 +0200") User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux) Mail-Followup-To: "emacs-devel\@gnu.org Development" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 83.169.19.17 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:160315 Archived-At: David Engster writes: > chad writes: >> On 09 Jun 2013, at 02:40, David Engster wrote: >> >>> And yes, I'm working on X11. So I'm now back at how to choose the right >>> font for a real fullscreen frame. I guess "5x8" should be OK for almost >>> all common resolutions, but I can't be sure. So the question remains if >>> I can somehow fake this... The optimum would be a fake font with 1 pixel >>> height. :-) >> >> You might see if modern X11 systems still recognize the font `nil2'. > > Actually yes, nil2 is still there, but I cannot use it in Emacs for some > reason. 'xterm -fn nil2' works, and I see that nil2 is an alias for > > -misc-nil-medium-r-normal--2-20-75-75-c-10-misc-fontspecific > > but Emacs tells me > > 'Font `nil2' is not defined'. I've found a good replacement by using a xft font with very small height: "Bitstream Charter" with height '20' is 1 pixel wide and 4 pixels high. Everything below 11 makes Emacs segfault with a floating point exception (should I submit a report about this? I think there was already one, but I cannot find it). The only thing still bothering me is the rightmost column that is reserved for the truncation/continuation character. I already tried setting it to 'zero-width' through glyphless-char-display, but that does not work. Can I somehow reclaim the rightmost column, or is this fixed? -David