From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: emacs menu font in GTK-2 and GTK-3 Date: Wed, 12 Aug 2015 12:35:34 +0600 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1439361363 28369 80.91.229.3 (12 Aug 2015 06:36:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Aug 2015 06:36:03 +0000 (UTC) Cc: Emacs developers To: "Nelson H. F. Beebe" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 12 08:36:01 2015 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 1ZPPdo-0000jB-LH for ged-emacs-devel@m.gmane.org; Wed, 12 Aug 2015 08:36:00 +0200 Original-Received: from localhost ([::1]:37156 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPPdo-0003b7-2k for ged-emacs-devel@m.gmane.org; Wed, 12 Aug 2015 02:36:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53769) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPPdk-0003ax-I9 for emacs-devel@gnu.org; Wed, 12 Aug 2015 02:35:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZPPdj-0003U0-Gs for emacs-devel@gnu.org; Wed, 12 Aug 2015 02:35:56 -0400 Original-Received: from mail-lb0-x229.google.com ([2a00:1450:4010:c04::229]:35519) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPPdj-0003TM-8U for emacs-devel@gnu.org; Wed, 12 Aug 2015 02:35:55 -0400 Original-Received: by lbcbn3 with SMTP id bn3so4022653lbc.2 for ; Tue, 11 Aug 2015 23:35:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; bh=XdhnxWr8yfDuthMid0atwELPykB9+xZT7pfgZ1seDkw=; b=TmOXhjNSGeTcQFPxQu77ldJLz4AnaPUFIvTTQe7xnb4n4GwAAFDbvB54zWX3EvS8TE Hr/LS0DQpcUWikLxzHYd1xyWTRdXhVor9WGuaMaO8XdBuQjW3K2pWG4/6WJjZ+4vQXy2 fEnJ6fhU374O1jkfVDmsGdpMS13b28mMhbNYcxZIfA69mIR7UpTCE6elp8YwoOxrkdbr v8TPoimxBFUizadPbWS55exulDXAupDiyGdIl06nFxWemqjC47Zlh0cd3hGbbAWfWHaE tflCe/j6UwzdIp+vDbiUuJVg2LWd4kaK29309h8YRXERuVZLvMxIVx22y27smwxws3HJ uH0w== X-Received: by 10.152.28.229 with SMTP id e5mr30502334lah.110.1439361354279; Tue, 11 Aug 2015 23:35:54 -0700 (PDT) Original-Received: by 10.25.206.1 with HTTP; Tue, 11 Aug 2015 23:35:34 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: MneAwj5KeMwr0eWltzzdMK8ixgk X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::229 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:188745 Archived-At: On Tue, Aug 11, 2015 at 11:59 PM, Nelson H. F. Beebe wrote: > I recently upgraded my desktop workstation, doubling my screen > resolution to 3840x2160 pixels, and changing from Solaris SPARC to > CentOS 7 x86-64. The higher resolution has been welcome, but I'm > still struggling with selecting larger font sizes in several > applications, including emacs. What does your X server think your DPI is, what physical size is your new monitor actually, and at what distance from it do you view it? I recently got a 3840=C3=972160 24in at normal distance (=E2=89=8870cm). By default, X assumed 96 dpi and everything was so damn small. In order to bring my environment to sane size, I had to: * Fiddle with my Xorg.conf to inform X of the physical dimensions of my mon= itor. * Set Xft.dpi to 192 in my ~/.Xresources. * Work through my GTK+2 theme and double every pixel-based size and adjust icon sizes as well. * In my GTK+3 theme, resize all theme images and also double every pixel-based size. After that, most applications display at an acceptable size, though icons in GTK+3 applications remain too small. I am running Ubuntu without a DE, using i3 as the window manager. Most applications I use are based on GTK+3 or GTK+2. I set up my GTK+3 theme via the ~/.config/gtk-3.0/settings.ini file, whose gtk-theme-name key contains the name of the theme (Clearlooks-Phenix) which is further looked up in /usr/share/themes. (Alternatively, themes can be installed in ~/.themes, but then they are only available to the user.)