unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* 23.0.60; Incorrect size with set-fontset-font
@ 2008-05-30 12:51 Florian Beck
  2008-06-05  5:10 ` Kenichi Handa
  0 siblings, 1 reply; 3+ messages in thread
From: Florian Beck @ 2008-05-30 12:51 UTC (permalink / raw)
  To: emacs-pretest-bug


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 emacs-pretest-bug@gnu.org mailing list.

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

emacs -Q

(create-fontset-from-fontset-spec
 "-*-DejaVu Serif-medium-r-normal-*-12-*-*-*-*-*-fontset-serif")
(set-default-font "fontset-serif")
(set-fontset-font "fontset-serif" 'han (font-spec :family "Bitstream Cyberbit" :size 20) nil 'prepend)

Chinese (中文,普通话,汉语)	你好

The chinese characters are now displayed in the right font, but in the wrong size (i.e. ":size 20" is ignored):

        character: 中 (20013, #o47055, #x4e2d)
preferred charset: unicode (Unicode (ISO10646))
       code point: 0x4E2D
           syntax: w 	which means: word
         category: C:Chinese (Han) characters of 2-byte character sets c:Chinese h:Korean j:Japanese |:While filling, we can break a line at this character.
      buffer code: #xE4 #xB8 #xAD
        file code: #xE4 #xB8 #xAD (encoded by coding system utf-8-unix)
          display: by this font (glyph code)
     -unknown-Bitstream Cyberbit-normal-normal-normal-*-12-*-*-*-*-0-*-* (#x1F1B)

Character code properties are not shown: customize what to show

There are text properties here:
  auto-composed        t
  fontified            t


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/share/emacs/23.0.60/etc/DEBUG for instructions.


In GNU Emacs 23.0.60.4 (i686-pc-linux-gnu)
 of 2008-05-29 on aeschylus
Windowing system distributor `The X.Org Foundation', version 11.0.10400090
configured using `configure  '--with-x-toolkit=no' 'CC=gcc' 'CFLAGS=-O0 -fno-crossjumping -g''

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

Major mode: Emacs-Lisp

Minor modes in effect:
  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-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<down> <end> <down> <end> <return> <up> <up> <end> 
<return> ( s e t - d e f a u l t - f o n t SPC " f 
o n t s e t - s e r i f " ) <up> <end> C-x C-e <down> 
C-x C-e <down> <down> <down> <left> <left> <left> <left> 
<left> C-u C-x = <up> <up> <up> <down> <end> C-x C-e 
q <backspace> C-x C-e <up> <up> <up> <down> <C-left> 
<C-left> <C-left> <right> <right> <backspace> 2 <end> 
C-x C-e <down> C-x C-e <down> <end> C-x C-e C-x C-s 
s <return> C-y M-y M-y M-y M-y <C-backspace> C-d <up> 
<C-right> <C-right> <C-right> <C-right> <C-right> <C-right> 
<C-right> <C-right> <C-right> <C-right> <C-backspace> 
C-y <tab> M-y <C-backspace> C-y <end> C-x C-e <down> 
<down> <left> <left> C-u C-x = <C-home> C-SPC C-SPC 
<C-down> <C-down> M-w M-x r e C-g <up> <C-right> <C-right> 
<right> <left> <left> <left> C-u C-x = C-o C-_ C-x 
o C-SPC C-SPC <C-down> <C-down> <down> <down> <down> 
<down> M-w C-x o <end> <return> <return> C-y <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <down> 
<end> <left> <left> <left> <right> <C-home> C-SPC C-SPC 
<C-down> <C-down> <C-down> <C-down> <C-down> M-w M-x 
r e p o r t <tab> <return>

Recent messages:
Mark deactivated
Quit
Char: 中 (20013, #o47055, #x4e2d, file ...) point=248 of 261 (95%) column=9
Undo!
Mark set
Mark deactivated
Mark set [3 times]
Mark deactivated
Saved text from "(create-fontset-from-fontset-spec
 "-*-D"





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 23.0.60; Incorrect size with set-fontset-font
  2008-05-30 12:51 23.0.60; Incorrect size with set-fontset-font Florian Beck
@ 2008-06-05  5:10 ` Kenichi Handa
  2008-06-05 11:54   ` Florian Beck
  0 siblings, 1 reply; 3+ messages in thread
From: Kenichi Handa @ 2008-06-05  5:10 UTC (permalink / raw)
  To: Florian Beck; +Cc: emacs-pretest-bug

In article <87k5hchs4z.fsf@sophokles.streitblatt.de>, Florian Beck <abstraktion@t-online.de> writes:

> (create-fontset-from-fontset-spec
>  "-*-DejaVu Serif-medium-r-normal-*-12-*-*-*-*-*-fontset-serif")
> (set-default-font "fontset-serif")
> (set-fontset-font "fontset-serif" 'han (font-spec :family "Bitstream Cyberbit" :size 20) nil 'prepend)

> Chinese (中文,普通话,汉语)	你好

> The chinese characters are now displayed in the right font, but in the wrong size (i.e. ":size 20" is ignored):

I installed a fix.  Please try again.

---
Kenichi Handa
handa@ni.aist.go.jp




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 23.0.60; Incorrect size with set-fontset-font
  2008-06-05  5:10 ` Kenichi Handa
@ 2008-06-05 11:54   ` Florian Beck
  0 siblings, 0 replies; 3+ messages in thread
From: Florian Beck @ 2008-06-05 11:54 UTC (permalink / raw)
  To: Kenichi Handa; +Cc: emacs-pretest-bug, Florian Beck

Kenichi Handa <handa@m17n.org> writes:

> In article <87k5hchs4z.fsf@sophokles.streitblatt.de>, Florian Beck <abstraktion@t-online.de> writes:
>
>> (create-fontset-from-fontset-spec
>>  "-*-DejaVu Serif-medium-r-normal-*-12-*-*-*-*-*-fontset-serif")
>> (set-default-font "fontset-serif")
>> (set-fontset-font "fontset-serif" 'han (font-spec :family "Bitstream Cyberbit" :size 20) nil 'prepend)
>
>> Chinese (中文,普通话,汉语)	你好
>
>> The chinese characters are now displayed in the right font, but in the wrong size (i.e. ":size 20" is ignored):
>
> I installed a fix.  Please try again.

Works fine, thank you very much!

-- 
Florian Beck




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-06-05 11:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-30 12:51 23.0.60; Incorrect size with set-fontset-font Florian Beck
2008-06-05  5:10 ` Kenichi Handa
2008-06-05 11:54   ` Florian Beck

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).