From unknown Sun Jun 15 08:40:46 2025 X-Loop: help-debbugs@gnu.org Subject: bug#9787: Thin line shown at full height with misc-fixed Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Oct 2011 18:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 9787 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 9787@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.131896234817689 (code B ref -1); Tue, 18 Oct 2011 18:26:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Oct 2011 18:25:48 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGEMF-0004bG-Un for submit@debbugs.gnu.org; Tue, 18 Oct 2011 14:25:48 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGEMB-0004b1-Hy for submit@debbugs.gnu.org; Tue, 18 Oct 2011 14:25:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGEL7-0005AP-DT for submit@debbugs.gnu.org; Tue, 18 Oct 2011 14:24:40 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD,T_FRT_PACKAGE autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:53880) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGEL7-0005AL-Bw for submit@debbugs.gnu.org; Tue, 18 Oct 2011 14:24:37 -0400 Received: from eggs.gnu.org ([140.186.70.92]:38963) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGEL5-0001oC-Nl for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2011 14:24:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGEL3-00059z-Q6 for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2011 14:24:35 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:50623) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGEL3-00059l-Ks for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2011 14:24:33 -0400 Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id p9IIOSU7020415 for ; Tue, 18 Oct 2011 14:24:28 -0400 Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 7945CB4031; Tue, 18 Oct 2011 14:24:31 -0400 (EDT) From: Stefan Monnier Date: Tue, 18 Oct 2011 14:24:31 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.2 X-NAI-Spam-Rules: 2 Rules triggered GEN_SPAM_FEATRE=0.2, RV4014=0 X-NAI-Spam-Version: 2.2.0.9286 : core <4014> : streams <692901> : uri <986475> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -4.2 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) Package: Emacs Version: 23.3 % src/emacs -Q -f fundamental-mode --eval '(insert "toto\n" (propertize "\n" (quote face) (quote (:height 0.1 :inverse-video t))) "titi\n")' Shows me toto and titi with font "xft:-unknown-DejaVu Sans Mono-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1", separated by a thin line. All is fine. But if I try % src/emacs -Q -f fundamental-mode --eval '(insert "toto\n" (propertize "\n" (quote face) (quote (:height 0.1 :inverse-video t))) "titi\n")' --eval '(set-frame-font "-misc-fixed-medium-r-semicondensed--13-*-*-*-*-*-*-*")' (i.e. the only change being the use of the misc-fixed font), then my thin line because thick (uses the full height, despite the ":height 0.1"). Stefan In GNU Emacs 24.0.90.1 (i686-pc-linux-gnu, GTK+ Version 2.24.6) of 2011-10-18 on faina Windowing system distributor `The X.Org Foundation', version 11.0.11004000 configured using `configure 'CFLAGS=-Wall -Wno-pointer-sign -DUSE_LISP_UNION_TYPE -DSYNC_INPUT -DENABLE_CHECKING -DXASSERTS -DFONTSET_DEBUG -g -O1 -I/usr/include/GNUstep' 'LDFLAGS=-L/home/monnier/src/Xaw3d' 'CPPFLAGS=-I/home/monnier/src/Xaw3d' '--enable-maintainer-mode'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: fr_CH.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: InactiveMinibuffer Minor modes in effect: diff-auto-refine-mode: t electric-pair-mode: t electric-indent-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 mouse-wheel-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 transient-mark-mode: t Recent input: C-u C-x = C-x C-c C-h f r e p - e m - b u C-s P a c k a g e : C-a C-s C-s C-s i n t a n C-s C-a C-s C-w C-w C-s C-a C-SPC C-w C-y ( s a v e - e x c C-d ( C-a M-; D o SPC i t SPC a f t e r SPC p l a c i n g SPC t h e SPC i n t a n g i b l e SPC p r o p e r t y . C-M-SPC M-w C-y ( f o r w a l i n 1 ) C-e ( ) ) ) C-a C-x C-s C-M-x n M-x M-p Recent messages: Warning: isearch-error-state is obsolete! Warning: isearch-message-state is obsolete! Mark saved where search started [2 times] Mark set Auto-saving... Mark set [3 times] Saving file /home/monnier/src/emacs/work/lisp/mail/emacsbug.el... Wrote /home/monnier/src/emacs/work/lisp/mail/emacsbug.el report-emacs-bug Add TOPIC documentation to end of doc string? (y or n) n checkdoc-defun: Argument `topic' should appear (as TOPIC) in the doc string Load-path shadows: /usr/share/emacs23/site-lisp/bbdb/bbdb-com hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-com /usr/share/emacs23/site-lisp/bbdb/bbdb-ftp hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-ftp /usr/share/emacs23/site-lisp/bbdb/bbdb-rmail hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-rmail /usr/share/emacs23/site-lisp/bbdb/bbdb-mhe hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-mhe /usr/share/emacs23/site-lisp/bbdb/bbdb-gui hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-gui /usr/share/emacs23/site-lisp/bbdb/bbdb-print hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-print /usr/share/emacs23/site-lisp/bbdb/bbdb hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb /usr/share/emacs23/site-lisp/bbdb/bbdb-w3 hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-w3 /usr/share/emacs23/site-lisp/bbdb/bbdb-sc hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-sc /usr/share/emacs23/site-lisp/bbdb/bbdb-whois hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-whois /usr/share/emacs23/site-lisp/bbdb/bbdb-snarf hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-snarf /usr/share/emacs23/site-lisp/bbdb/bbdb-merge hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-merge /usr/share/emacs23/site-lisp/bbdb/bbdb-vm hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-vm /usr/share/emacs23/site-lisp/bbdb/bbdb-migrate hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-migrate /usr/share/emacs23/site-lisp/bbdb/bbdb-gnus hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-gnus /usr/share/emacs23/site-lisp/bbdb/bbdb-hooks hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-hooks Features: (descr-text sort mail-extr message sendmail format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils mailheader emacsbug completion smerge-mode whitespace diff-mode vc ediff-merg ediff-diff ediff-wind ediff-help ediff-util ediff-mult ediff-init ediff vc-dispatcher executable copyright newcomment log-edit pcvs-util add-log debug cl-specs multi-isearch xscheme trace testcover scheme unsafep re-builder shadow inf-lisp ielm pp comint ring gmm-utils find-func elp edebug cust-print cus-edit cus-start cus-load wid-edit vc-bzr filecache server noutline outline easy-mmode flyspell ispell eldoc checkdoc regexp-opt thingatpt help-mode view prog-mode load-dir electric url-handlers url-parse auth-source warnings eieio byte-opt bytecomp byte-compile cconv macroexp assoc gnus-util password-cache url-vars mm-util mail-prsvr reveal autoinsert uniquify advice help-fns advice-preload time-date savehist minibuf-eldef disp-table cl cl-loaddefs all-autoloads company-autoloads debbugs-autoloads eldoc-eval-autoloads epoch-view-autoloads jgraph-mode-autoloads js2-mode-autoloads lmc-autoloads load-dir-autoloads markchars-autoloads minimap-autoloads muse-autoloads info easymenu oauth2-autoloads quarter-plane-autoloads rainbow-mode-autoloads register-list-autoloads shen-mode-autoloads sisu-mode-autoloads svg-clock-autoloads undo-tree-autoloads uni-confusables-autoloads windresize-autoloads package tabulated-list proof-site proof-autoloads pg-vars bbdb-autoloads agda2 tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-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 loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 08 14:54:28 2014 Received: (at control) by debbugs.gnu.org; 8 Jul 2014 18:54:28 +0000 Received: from localhost ([127.0.0.1]:47266 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X4aX6-00063e-4s for submit@debbugs.gnu.org; Tue, 08 Jul 2014 14:54:28 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:29746) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X4aX3-00063H-Ft for control@debbugs.gnu.org; Tue, 08 Jul 2014 14:54:25 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArQGAIDvNVNLd+D9/2dsb2JhbABZgwaDSsA9gRcXdIImAQUZPTM/EhQYDRgEiBTSGRePARaEIgSpGYFqg0wh X-IPAS-Result: ArQGAIDvNVNLd+D9/2dsb2JhbABZgwaDSsA9gRcXdIImAQUZPTM/EhQYDRgEiBTSGRePARaEIgSpGYFqg0wh X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="76894539" Received: from 75-119-224-253.dsl.teksavvy.com (HELO pastel.home) ([75.119.224.253]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 08 Jul 2014 14:54:22 -0400 Received: by pastel.home (Postfix, from userid 20848) id 69BAA60337; Tue, 8 Jul 2014 14:54:22 -0400 (EDT) From: Stefan Monnier To: control@debbugs.gnu.org Subject: blabla Message-ID: References: <4750.1379508841@ES0871.esisar.inpg.fr> Date: Tue, 08 Jul 2014 14:54:22 -0400 In-Reply-To: <4750.1379508841@ES0871.esisar.inpg.fr> (Christophe Deleuze's message of "Wed, 18 Sep 2013 14:54:01 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) forcemerge 9787 12556 thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 09 15:21:57 2014 Received: (at control) by debbugs.gnu.org; 9 Jul 2014 19:21:57 +0000 Received: from localhost ([127.0.0.1]:48096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X4xRB-0007Fb-1q for submit@debbugs.gnu.org; Wed, 09 Jul 2014 15:21:57 -0400 Received: from mercure.iro.umontreal.ca ([132.204.24.67]:35471) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X4xR0-0007FF-7k; Wed, 09 Jul 2014 15:21:46 -0400 Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 1E07D84DD2; Wed, 9 Jul 2014 15:21:40 -0400 (EDT) Received: from lechon.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 84F441E5B74; Wed, 9 Jul 2014 15:21:16 -0400 (EDT) Received: by lechon.iro.umontreal.ca (Postfix, from userid 20848) id 65BFDB4167; Wed, 9 Jul 2014 15:21:16 -0400 (EDT) From: Stefan Monnier To: handa@gnu.org (K. Handa) Subject: Re: bug#17973: Thin space not thin at all Message-ID: References: <87d2deeeem.fsf@gnu.org> Date: Wed, 09 Jul 2014 15:21:16 -0400 In-Reply-To: <87d2deeeem.fsf@gnu.org> (K. Handa's message of "Thu, 10 Jul 2014 00:32:33 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82, MC_TSTLAST 0.00) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-Spam-Status: No X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: control Cc: 17973@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.0 (---) forcemerge 9787 17973 thanks > Yes, I agree that they are all the same bug. As far as I > know, the problem is with the mechanism of face attribute > merging. When the control reaches the font selection > function font_find_for_lface, font related attributes > (family, foundry, weight, ..., height, ...) are already > merged. As font_find_for_lface doesn't know which attribute > to respect more (except for what specified in > face-font-selection-order), it at first tries to get a list > of fonts whose family, foundry, registry, adstyle are the > same as merged attributes, and selects a font most close to > the specified height. So, IIUC you're saying that when we get to selecting a font, we have specifications such as family =3D fixed foundry =3D misc height =3D 2=BD pixels and we end up choosing the 13pixel-high font because it's the only one that matches "misc-fixed"? I do have a 6pixel-high misc-fixed font (tho not semicondensed), so it seems like it's not the whole explanation. Or is the "13pixel high" specification kept somewhere (elsewhere than in the "height", obviously)? I'm beginning to sense that the "13pixel high" specification is indeed kept elsewhere, and it is kept so as to avoid other problems I've had in the past, where the 13pixel spec was turned into a height spec and that this height spec was then used to look for a font and it occasionally found *another* font with the same height in points but not in pixels. Is that right? OTOH, doing a M-x customize-face REt default RET, then setting family to `fixed' and foundry to `misc', and then playing with `height' is pretty scary: height=3D2000 gives me a 9pixel-high font (!) whereas setting it to 200 gives a more reasonable 20pixel-high font. Stefan From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 13 23:39:54 2015 Received: (at control) by debbugs.gnu.org; 14 Feb 2015 04:39:54 +0000 Received: from localhost ([127.0.0.1]:42532 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YMUWI-0003Uk-Aw for submit@debbugs.gnu.org; Fri, 13 Feb 2015 23:39:54 -0500 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:56369) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YMUWG-0003Ub-5I for control@debbugs.gnu.org; Fri, 13 Feb 2015 23:39:52 -0500 Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id t1E4dnqG009882 for ; Fri, 13 Feb 2015 23:39:49 -0500 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 7AC9BAE0CA; Fri, 13 Feb 2015 23:39:49 -0500 (EST) From: Stefan Monnier To: control@debbugs.gnu.org Subject: Re: bug#18413: Inline part displayed in the middle of its button Message-ID: References: Date: Fri, 13 Feb 2015 23:39:49 -0500 In-Reply-To: (Stefan Monnier's message of "Fri, 31 Oct 2014 10:26:33 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.2 X-NAI-Spam-Rules: 2 Rules triggered GEN_SPAM_FEATRE=0.2, RV5216=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5216> : inlines <2181> : streams <1389914> : uri <1854855> X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) close 4942 close 5037 close 6713 close 9787 close 12823 close 6333 thanks