unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: 9787@debbugs.gnu.org
Subject: bug#9787: Thin line shown at full height with misc-fixed
Date: Tue, 18 Oct 2011 14:24:31 -0400	[thread overview]
Message-ID: <jwvmxcyupi8.fsf@faina.iro.umontreal.ca> (raw)

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:
<right> <right> <right> <up> <up> <up> <down> <down> 
<down-mouse-1> <mouse-1> <down-mouse-1> <mouse-1> <down-mouse-1> 
<mouse-1> <switch-frame> <switch-frame> <switch-frame> 
<switch-frame> <switch-frame> <switch-frame> <switch-frame> 
<switch-frame> <switch-frame> <switch-frame> <switch-frame> 
<switch-frame> <switch-frame> <switch-frame> <down> 
<up> <down> <up> C-u C-x = <switch-frame> <switch-frame> 
<switch-frame> <switch-frame> <switch-frame> <switch-frame> 
<help-echo> <switch-frame> <switch-frame> <help-echo> 
<switch-frame> <switch-frame> <switch-frame> <switch-frame> 
<switch-frame> <switch-frame> <switch-frame> <switch-frame> 
<switch-frame> <help-echo> <switch-frame> <switch-frame> 
C-x C-c <help-echo> C-h f r e p - e m - b u <tab> <return> 
<switch-frame> <switch-frame> <switch-frame> <help-echo> 
<down-mouse-1> <mouse-2> <switch-frame> <switch-frame> 
C-s P a c k a g e : C-a <left> <right> <down> <left> 
<right> <down> <left> <right> C-s C-s <up> C-s i n 
t a n C-s C-a <down-mouse-4> <mouse-4> <down-mouse-4> 
<mouse-4> <down-mouse-1> <mouse-movement> <mouse-1> 
C-s C-w C-w C-s C-a <down-mouse-1> <mouse-1> <right> 
C-SPC <C-down> <C-down> C-w <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> C-y 
<up> <up> <return> <up> <tab> ( s a v e - e x c <tab> 
C-d <backspace> <return> ( C-a <up> <left> <right> 
<return> <up> 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 . <right> <down> <left> <right> <down> 
<left> <backspace> <down-mouse-1> <mouse-1> C-M-SPC 
M-w <down> <down> <down> <down> <down> <down> <backspace> 
C-y <return> ( f o r w a <tab> l i n <tab> 1 ) <right> 
<tab> <down> <tab> C-e ( ) <backspace> <backspace> 
<backspace> ) ) C-a C-x C-s <help-echo> <switch-frame> 
<switch-frame> C-M-x n <switch-frame> M-x M-p <ret
urn>

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)





                 reply	other threads:[~2011-10-18 18:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvmxcyupi8.fsf@faina.iro.umontreal.ca \
    --to=monnier@iro.umontreal.ca \
    --cc=9787@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).