From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#18293: Emacs ignores the ":aspect=N" specification of xft fonts Date: Mon, 18 Aug 2014 23:01:39 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1408417415 29233 80.91.229.3 (19 Aug 2014 03:03:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Aug 2014 03:03:35 +0000 (UTC) To: 18293@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 19 05:03:27 2014 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 1XJZhm-000081-39 for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 Aug 2014 05:03:26 +0200 Original-Received: from localhost ([::1]:47558 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJZhl-00011f-8E for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Aug 2014 23:03:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59715) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJZha-0000uJ-AB for bug-gnu-emacs@gnu.org; Mon, 18 Aug 2014 23:03:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XJZhP-00075M-Js for bug-gnu-emacs@gnu.org; Mon, 18 Aug 2014 23:03:14 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39863) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJZhP-00075A-GH for bug-gnu-emacs@gnu.org; Mon, 18 Aug 2014 23:03:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XJZhO-0007KE-VO for bug-gnu-emacs@gnu.org; Mon, 18 Aug 2014 23:03:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Aug 2014 03:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18293 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.140841733328083 (code B ref -1); Tue, 19 Aug 2014 03:03:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Aug 2014 03:02:13 +0000 Original-Received: from localhost ([127.0.0.1]:46806 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XJZga-0007Is-2G for submit@debbugs.gnu.org; Mon, 18 Aug 2014 23:02:13 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57785) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XJZgV-0007Id-8Y for submit@debbugs.gnu.org; Mon, 18 Aug 2014 23:02:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XJZgI-0006qL-FF for submit@debbugs.gnu.org; Mon, 18 Aug 2014 23:02:01 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:50398) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJZgI-0006qH-Cb for submit@debbugs.gnu.org; Mon, 18 Aug 2014 23:01:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59498) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJZgB-0000qr-TI for bug-gnu-emacs@gnu.org; Mon, 18 Aug 2014 23:01:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XJZg5-0006pR-HY for bug-gnu-emacs@gnu.org; Mon, 18 Aug 2014 23:01:47 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:62087) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJZg5-0006pD-AI for bug-gnu-emacs@gnu.org; Mon, 18 Aug 2014 23:01:41 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjwIAIDvNVPAqyKr/2dsb2JhbABZgwYBOoMPqX8BjwOHOoEXF3SDAhMBSw8EIQEcDVWHW59/shoXjikBAUokhCAEjlScL4NMIYE1 X-IPAS-Result: AjwIAIDvNVPAqyKr/2dsb2JhbABZgwYBOoMPqX8BjwOHOoEXF3SDAhMBSw8EIQEcDVWHW59/shoXjikBAUokhCAEjlScL4NMIYE1 X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="87137898" Original-Received: from 192-171-34-171.cpe.pppoe.ca (HELO pastel.home) ([192.171.34.171]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 18 Aug 2014 23:01:39 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id A3E5F615CF; Mon, 18 Aug 2014 23:01:39 -0400 (EDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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:92525 Archived-At: Package: Emacs Version: 24.4.50 Try: % xterm -fa 'DejaVu Sans Mono:pixelsize=10' % xterm -fa 'DejaVu Sans Mono:pixelsize=10:aspect=0.5' See how ":aspect=0.5" changes the aspect ratio of characters. and then compare: % emacs -Q -fn 'DejaVu Sans Mono:pixelsize=10' % emacs -Q -fn 'DejaVu Sans Mono:pixelsize=10:aspect=0.5' and notice how Emacs does not honor the ":aspect=0.5" specification. In my particular use-case (which is probably not that uncommon in Emacs's mostly monospaced world), an even better feature would be to be able to say "choose `size' and `aspect' such that it uses the same number of pixels vertically and horizontally as the default face". Stefan In GNU Emacs 24.4.50.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars) of 2014-07-19 on pastel Repository revision: monnier@iro.umontreal.ca-20140719013826-sa8ng1bsl7jjwg7c Windowing system distributor `The X.Org Foundation', version 11.0.11501000 System Description: Debian GNU/Linux 7.6 (wheezy) Configured using: `configure -C --enable-checking --enable-check-lisp-object-type 'CFLAGS=-Wall -g3 -Og -Wno-pointer-sign' PKG_CONFIG_PATH=/home/monnier/lib/pkgconfig' Configured features: XAW3D XPM JPEG TIFF GIF PNG SOUND GPM DBUS NOTIFY GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB Important settings: value of $LANG: fr_CH.UTF-8 locale-coding-system: utf-8-unix Major mode: InactiveMinibuffer Minor modes in effect: semantic-minor-modes-format: ((:eval (if (or semantic-highlight-edits-mode semantic-show-unmatched-syntax-mode semantic-idle-scheduler-mode) S))) dired-omit-mode: t csv-field-index-mode: t shell-dirtrack-mode: t diff-auto-refine-mode: t electric-pair-mode: t url-handler-mode: t global-reveal-mode: t reveal-mode: t auto-insert-mode: t savehist-mode: t minibuffer-electric-default-mode: t electric-indent-mode: t mouse-wheel-mode: t global-prettify-symbols-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t Recent input: a s p e c t = 0 . 5 M-x i e l m C-h f s e t - f a c e - f o n C-e ( s e t - f a c e - f o n SPC ' f o n t - l o - s t r - f SPC " D e j a V u SPC S a n s SPC M o n o C-e M-p = : p i x e l s i z e = 1 3 C-e M-p 0 C-e M-p 3 M-p 2 C-e M-p : a s p e c t = 0 . 5 C-e M-x r e p o - e m - b Recent messages: Creating customization setup...done Mark set Char: u (117, #o165, #x75) point=12366606 of 54209 (22817%) <12345678-12399887> column=24 user-error: Node has no Up Mark saved where search started funcall-interactively: End of buffer Warning: turn-on-eldoc-mode is obsolete! Warning: turn-on-eldoc-mode is obsolete! Load-path shadows: /home/monnier/src/emacs/elpa/packages/ada-mode/ada-mode hides /home/monnier/src/emacs/work/lisp/progmodes/ada-mode Features: (mail-extr emacsbug crm dabbrev bbdb-com bbdb timezone quail conf-mode reposition log-view vc-annotate tabify imenu man sh-script descr-text reftex-sel reftex-parse reftex-toc tramp-cache tramp-sh tramp tramp-compat tramp-loaddefs trampver sml-mode smie srecode/document semantic/doc srecode/semantic semantic/senator srecode/extract srecode/insert srecode/filters srecode/find srecode/map srecode/ctxt srecode/compile srecode/args ede/speedbar ede/files ede ede/base ede/auto ede/source eieio-speedbar eieio-custom srecode/dictionary srecode/table srecode informat texinfo bat-mode grep cmuscheme wdired ls-lisp find-dired dired-aux dired-x rect csv-mode parse-time sgml-mode two-column skeleton reftex-dcr reftex reftex-vars tex-mode compile shell latexenc view cal-china lunar solar cal-dst cal-bahai cal-islam cal-hebrew holidays hol-loaddefs cal-french diary-lib diary-loaddefs cal-move completion nnheader semantic/bovine/c semantic/db-mode semantic/decorate/include semantic/decorate/mode semantic/decorate pulse semantic/bovine/c-by semantic/lex-spp semantic/idle semantic/bovine/gcc semantic/dep semantic/bovine semantic/analyze/refs semantic/db-find semantic/db-ref semantic/analyze semantic/sort semantic/scope semantic/analyze/fcn semantic/db eieio-base semantic/ctxt semantic/format semantic/tag-ls semantic/find semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local cedet hideif cpp cmacexp cc-mode cc-fonts cc-awk cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-langs cc-vars cc-defs smerge-mode mule-diag ffap whitespace diff-mode image-file iimage epa-file epa derived epg epg-config misearch multi-isearch sort mule-util network-stream starttls tls mpc executable copyright xscheme warnings unsafep trace testcover shadow scheme re-builder profiler pcase inf-lisp ielm pp ert elp edebug cl-indent eieio-opt speedbar sb-image ezimage dframe org-clock org-colview org-table org-protocol org-mouse org-mobile org-agenda org-indent org-feed org-crypt org-capture org-attach vc-git org-id org-element org-rmail org-mhe org-irc org-info org-gnus org-docview org-bibtex bibtex org-bbdb org-w3m org org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint comint ansi-color ob-core ob-eval org-compat org-macs org-loaddefs find-func cal-menu calendar cal-loaddefs cus-edit cus-start cus-load wid-edit autorevert filenotify doc-view jka-compr image-mode debug filecache bug-reference log-edit message sendmail dired format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader ring pcvs-util add-log vc-bzr vc-sccs vc-svn vc-cvs vc-rcs vc-dir ewoc vc vc-dispatcher server noutline outline easy-mmode flyspell ispell eldoc checkdoc thingatpt help-mode advice elec-pair url-handlers url-parse auth-source eieio byte-opt bytecomp byte-compile cconv eieio-core gnus-util mm-util help-fns mail-prsvr password-cache url-vars reveal autoinsert proof-site proof-autoloads cl-macs cl gv pg-vars time-date savehist minibuf-eldef disp-table finder-inf edmacro kmacro cl-loaddefs cl-lib info easymenu package bbdb-autoloads agda2 vm-autoloads tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind inotify dynamic-setting font-render-setting x-toolkit x multi-tty emacs) Memory information: ((conses 8 868800 123937) (symbols 24 54520 0) (miscs 20 18726 738) (strings 16 172745 19909) (string-bytes 1 6163889) (vectors 8 97200) (vector-slots 4 2966948 242924) (floats 8 1173 1182) (intervals 28 73818 63) (buffers 512 117) (heap 1024 1011592 2597))