emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

set-face-attribute :height gacks on floating-point


From: Eric Hanchrow
Subject: set-face-attribute :height gacks on floating-point
Date: Sat, 08 Mar 2008 16:57:45 -0800
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.92 (gnu/linux)

Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the address@hidden mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

I typed

        M-: (set-face-attribute 'default nil :height 1.1) RET

and saw an error:

        set-face-attribute: Invalid face height: 1.1

However, the documentation for set-face-attribute says:

    `:height'

    VALUE must be either an integer specifying the height of the font to use
    in 1/10 pt, a floating point number specifying the amount by which to
    scale any underlying face, or a function, which is called with the old
    height (from the underlying face), and should return the new height.

... so I expected my current font to get 10% bigger.

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/local/src/emacs-via-git/etc/DEBUG for instructions.


In GNU Emacs 23.0.0.1 (i686-pc-linux-gnu, GTK+ Version 2.12.0)
 of 2008-03-08 on enver-laptop
Windowing system distributor `The X.Org Foundation', version 11.0.10300000
configured using `configure  '--enable-maintainer-mode' '--with-xpm=no' 
'--with-jpeg=no' '--with-gif=no' '--with-tiff=no' '--with-xft' '--with-gtk' 
'--enable-font-backend''

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: nil
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Help

Minor modes in effect:
  erc-autojoin-mode: t
  erc-match-mode: t
  erc-log-mode: t
  erc-services-mode: t
  desktop-save-mode: t
  recentf-mode: t
  display-time-mode: t
  global-auto-revert-mode: t
  shell-dirtrack-mode: t
  iswitchb-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t
  view-mode: t

Recent input:
s e d - f o n t s C-a C-M-q C-n C-e M-b C-M-k M-( * 
SPC r a t M-/ SPC 1 . 0 C-a <tab> C-M-x C-x C-s C-- 
C-- C-- C-+ C-+ C-+ C-+ C-+ C-+ C-- C-- C-p C-e C-x 
C-e C-M-p M-1 M-( o r SPC t SPC C-M-x C-- C-+ C-+ C-n 
C-h f <return> C-x o C-s C-h e i g h t C-x o C-h v 
<return> C-h f <return> C-x o C-s C-s C-a C-s h e i 
g h t C-a M-0 C-l C-n C-n C-n C-x o C-e M-b M-b C-M-u 
M-1 M-( l a m b d a M-( o l d C-f C-f C-f C-f C-f C-M-f 
C-M-k SPC o l d C-M-a C-M-q C-M-x C-- C-n C-n C-M-d 
C-x F <return> C-x 1 C-x n d C-x b <return> C-x C-s 
C-x v = C-x 1 C-v C-v C-p C-p C-x C-q C-c C-r p C-c 
C-a C-x o C-x C-s C-x v = C-x 1 C-v C-x k <return> 
C-M-e C-M-e C-u C-u C-n C-p C-e C-x C-e C-M-p C-M-SPC 
M-w M-: C-y M-b C-f C-d 6 <return> M-: M-p C-e M-b 
C-f M-d . 1 <return> C-x b <return> C-x n d C-s : h 
e C-w C-s C-s C-M-v C-v C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-u C-n C-n C-x n w C-M-d C-x F <return> 
C-x n d C-s h e i g h t C-n C-a C-p C-n C-M-SPC C-p 
C-x n n C-g C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-p C-x n w C-x b C-s C-s <return> 
C-p C-SPC C-u C-n C-x C-x C-p C-p M-< M-w M-x r e p 
o <tab> r <tab> <return>

Recent messages:
call-interactively: There is no other window
Mark set
Mark saved where search started
Mark set
Quit
Mark set
Saved text until "ace), and should return the new height.
"
Making completion list...
Loading emacsbug...done

-- 
People studying literature rarely say anything that would be of the
slightest use to those producing it.
        -- Paul Graham




reply via email to

[Prev in Thread] Current Thread [Next in Thread]