unicode characters

2006-11-14 Thread M G Berberich
showing Marcus Kuhns UTF-demo.txt the unicode-characters 
- 201E (german double opening quotation-marks), 
- 201C (german closing opening quotation-marks), 
- 201A (german single opening quotation-marks), 
- 2018 (german single opening quotation-marks), 
- 2026 (ellipsis)
- and the Euro-Sign

are not taken from the selected font (DejaVu Sans Mono) which contains 
them, but are taken from an other font.

This may be due to a lack of them in the character set 
mule-unicode-0100-24ff.


In GNU Emacs 23.0.0.1 (i386-pc-linux-gnu, GTK+ Version 2.6.4)
 of 2006-11-13 on manwe, modified by Debian
 (Debian emacs-snapshot package, version 1:20061106-1)
X server distributor `The XFree86 Project, Inc', version 11.0.4031
configured using `configure '--build' 'i386-linux' '--host' 'i386-linux' 
'--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' 
'--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' 
'--with-pop=yes' 
'--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.0/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.0/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.0.0/leim'
 '--with-x=yes' '--with-x-toolkit=gtk' '--enable-font-backend' '--with-xft' 
'--with-freetype' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 
'build_alias=i386-linux' 'host_alias=i386-linux''

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: de_DE.utf8
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: identity

Recent input:
help-echo help-echo help-echo help-echo help-echo 
help-echo help-echo help-echo help-echo help-echo 
help-echo help-echo help-echo menu-bar help-menu 
about help-echo down-mouse-5 mouse-5 down-mouse-1 
drag-mouse-1 mouse-1 down-mouse-1 mouse-movement 
mouse-movement mouse-movement mouse-movement 
mouse-movement drag-mouse-1 down-mouse-1 mouse-1 
mouse-1 down-mouse-1 mouse-movement mouse-1 
down-mouse-1 mouse-movement mouse-movement drag-mouse-1 
mouse-1 mouse-1 mouse-1 mouse-1 mouse-1 mouse-1 
mouse-1 mouse-1 mouse-1 mouse-1 mouse-1 mouse-1 
mouse-1 mouse-1 mouse-1 mouse-1 mouse-1 mouse-1 
mouse-1 mouse-1 mouse-1 mouse-1 mouse-1 help-echo 
help-echo down-mouse-1 mouse-movement mouse-movement 
drag-mouse-1 down-mouse-1 mouse-1 down-mouse-1 
mouse-movement mouse-movement drag-mouse-1 down-mouse-1 
mouse-movement mouse-movement drag-mouse-1 down-mouse-1 
mouse-1 help-echo help-echo help-echo help-echo 
help-echo help-echo help-echo help-echo help-echo 
help-echo help-echo help-echo help-echo help-echo 
help-echo help-echo help-echo menu-bar help-menu 
report-emacs-bug

Recent messages:
Loading /etc/emacs/site-start.d/50psvn.el (source)...done
Loading /etc/emacs/site-start.d/50sawfish.el (source)...done
Loading /etc/emacs/site-start.d/50yacas.el (source)...done
For information about the GNU Project and its goals, type C-h C-p.
UTF-8-demo.txt has auto save data; consider M-x recover-this-file
For information about the GNU Project and its goals, type C-h C-p.
byte-code: Beginning of buffer [2 times]
Loading emacsbug...
Loading regexp-opt...done
Loading emacsbug...done


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


unicode-xft: wrong unicode characters and crashes

2006-05-30 Thread Meik Hellmund
When visiting a file with non-latin unicode characters, most are 
displayed wrong, e.g. the file includes a greek small lambda 
(U+03BB), and emacs displays a small e with two dots U+00EB.

Some characters, e.g.  U+03D1 (greek theta symbol), produce 
a segmentation fault.  
I use the Bitstream vera sans mono font.


Starting program: /usr/bin/emacs-snapshot-gtk -Q
[Thread debugging using libthread_db enabled]
[New Thread 47795254905600 (LWP 2647)]
[Switching to Thread 47795254905600 (LWP 2647)]
Breakpoint 3 at 0x498470: file xterm.c, line 8206.

Program received signal SIGSEGV, Segmentation fault.
x_get_font_repertory (f=value optimized out, font_info=value optimized out)
at xterm.c:10609
10609 if (pcm-width == 0  pcm-rbearing == pcm-lbearing)



#0  x_get_font_repertory (f=value optimized out, 
font_info=value optimized out) at xterm.c:10609
from = -1
j = 0
font = value optimized out
table = 30435332
min_byte1 = value optimized out
max_byte1 = 16960816
min_byte2 = 0
max_byte2 = 27708944
c = 16960816
charset = (struct charset *) 0xa5d5d0
offset = 0
#1  0x004a947f in load_font_get_repertory (f=0x946470, 
face=value optimized out, font_def=value optimized out, 
fontset=value optimized out) at fontset.c:509
repertory = value optimized out
font_name = value optimized out
font_info = (struct font_info *) 0x117fbe0
#2  0x004a98cd in fontset_font (fontset=12635364, c=9785, 
face=0xe3f430, id=-1) at fontset.c:650
font_info = value optimized out
slot = value optimized out
font_def = 19427908
base_fontset = 9998836
elt = value optimized out
vec = value optimized out
i = 17
from = 8192
to = 11903
font_idx = value optimized out
f = (FRAME_PTR) 0x946470
#3  0x004a9752 in fontset_font (fontset=19226196, c=9785, 
face=0xe3f430, id=-1) at fontset.c:721
base_fontset = 13757220
elt = value optimized out
vec = value optimized out
i = 4
from = 40
to = -5811568
font_idx = value optimized out
f = (FRAME_PTR) 0x946470
#4  0x004a9f45 in face_for_char (f=0x946470, face=0xe3f430, c=9785, 
pos=value optimized out, object=0) at fontset.c:906
fontset = 19226196
charset = value optimized out
rfont_def = value optimized out
face_id = value optimized out
id = -1
#5  0x00426b28 in get_next_display_element (it=0x7fa75290)
at xdisp.c:5740
face = (struct face *) 0x51
pos = 30435332
success_p = value optimized out
#6  0x0042ec24 in display_line (it=0x7fa75290) at xdisp.c:15799
i = 19202928
nglyphs = 1
ascent = 13
phys_ascent = 11
n_glyphs_before = 6
hpos_before = 6
x = 48
descent = 4
phys_descent = 1
row = (struct glyph_row *) 0x1295498
overlay_arrow_string = value optimized out
#7  0x0043216b in try_window_reusing_current_matrix (w=0xc042a0)
at xdisp.c:13788
first_row_to_display = (struct glyph_row *) 0x1250fe8
pt_row = (struct glyph_row *) 0x0
row = value optimized out
first_reusable_row = (struct glyph_row *) 0x1250370
dy = value optimized out
yb = value optimized out
f = value optimized out
row = value optimized out
bottom_row = value optimized out
it = {
  window = 12599972, 
  w = 0xc042a0, 
  f = 0x946470, 
  method = GET_FROM_BUFFER, 
  stop_charpos = 1586, 
  end_charpos = 9969, 
  s = 0x0, 
  string_nchars = 0, 
  region_beg_charpos = -1, 
  region_end_charpos = -1, 
  redisplay_end_trigger_charpos = 0, 
  multibyte_p = 1, 
  header_line_p = 0, 
  string_from_display_prop_p = 0, 
  ellipsis_p = 0, 
  dp = 0x0, 
  dpvec = 0x0, 
  dpend = 0x0, 
  dpvec_char_len = 0, 
  dpvec_face_id = 0, 
  saved_face_id = 0, 
  ctl_chars = {0 repeats 16 times}, 
  start = {
pos = {
  charpos = 1577, 
  bytepos = 1594
}, 
overlay_string_index = -1, 
string_pos = {
  charpos = -1, 
  bytepos = -1
}, 
dpvec_index = -1
  }, 
  current = {
pos = {
  charpos = 1584, 
  bytepos = 1601
}, 
overlay_string_index = -1, 
string_pos = {
  charpos = -1, 
  bytepos = -1
}, 
dpvec_index = -1
  }, 
  overlay_strings = {0 repeats 16 times}, 
  n_overlay_strings = 0, 
  string = 9542033, 
  stack = {{
  stop_charpos = 0, 
  face_id = 0, 
  string = 0, 
  pos = {
pos = {
  charpos = 0, 
  bytepos = 0
}, 
overlay_string_index = 0, 
string_pos = {
  charpos = 0, 
  bytepos = 0
}, 
dpvec_index = 0
  }, 
  end_charpos = 0, 
  string_nchars = 0, 
  area = LEFT_MARGIN_AREA

orgtbl-mode bug with unicode characters

2006-01-03 Thread 이휘재
I found wired spacing in orgtbl mode when using unicode characters
(exactly Korean characters)

I suspect that orgtbl counts number of characters instead of their width.
Korean character width is double of latin character width .

Here is the result:

|---|
| 안녕하세요 |
| abcde |
|   |

Five Korean characters occupies 10 char width.
But, orgtbl aligned vertical bar as if they are 5 char width.


In GNU Emacs 22.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.8.9)
 of 2006-01-04 on hjnotebook
X server distributor `The X.Org Foundation', version 11.0.6090
configured using `configure
'--prefix=/mnt/archive/usr/emacs22-20060104' '--with-x-toolkit=gtk''

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
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  orgtbl-mode: t
  tooltip-mode: t
  auto-compression-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  line-number-mode: t

Recent input:
down down M-x o r g t b l - m o d e return help-echo
help-echo | - return | SPC C-x return C-\ k o
r tab h a n g tab 3 return j f s h e a m f n
c j 4 S-SPC tab C-\ a b c d e tab help-echo help-echo
help-echo help-echo help-echo help-echo help-echo
help-echo help-echo help-echo help-echo help-echo
help-echo help-echo help-echo help-echo menu-bar
help-menu report-emacs-bug

Recent messages:
Loading org...
Loading easy-mmode...done
Loading org...done
Loading quail...done
Loading quail/hangul3...done
Loading composite...done
Loading tabify...done
Loading emacsbug...
Loading regexp-opt...done
Loading emacsbug...done
___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug