[e-users] Eterm ignores multichar fonts in theme.cfg, why?

2004-02-17 Thread Yasufumi Haga
Hello all

I compiled Eterm 0.9.2 a few days ago using Eterm-0.9.2.tar.gz
which I downloaded from eterm.sourceforge.net.
This Eterm works fine, but without --mfont option I can not
use multibyte fonts such as Japanese. That is, even if I add
a multichar context like the following to
/usr/local/share/Eterm/themes/Eterm/theme.cfg,

  begin multichar
  encoding eucj
  font 0 -misc-fixed-merium-r-normal--14-130-75-75-c-140-jisx0208.1983-0
  font 1 -misc-fixed-merium-r-normal--16-160-75-75-c-160-jisx0208.1983-0
  font 2 -misc-fixed-merium-r-normal--14-130-75-75-c-140-jisx0208.1983-0
  font 3 -misc-fixed-merium-r-normal--16-160-75-75-c-160-jisx0208.1983-0
  font 4 -misc-fixed-merium-r-normal--16-160-75-75-c-160-jisx0208.1983-0
  end multichar

when invoking this Eterm without using --mfont option, I can
not show a text file written in Japanese, in this case tiny
rectangular figures are displayed instead of Japanese characters,
or input Japanese characters.

When invoking this Eterm with, for example, --mfont k14,
I can both read and write Japanese normally.

Is the behavior of my Eterm correct ? Whether there is
multichar context in theme.cfg or not, do I always have to
use --mfont option in order to use multichar fonts such
as Japanese ?

Thanks for any help.


---
Yasufumi Haga   [EMAIL PROTECTED]
http://homepage3.nifty.com/peterpan/
fingerprint:0EFA 299A BC32 7D68 1FEF  BA2B 804E 9B15 C4F0 F9F0


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps  Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
___
enlightenment-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] Eterm ignores multichar fonts in theme.cfg, why?

2004-02-17 Thread The Rasterman
On Tue, 17 Feb 2004 22:34:39 +0900 (JST) Yasufumi Haga [EMAIL PROTECTED]
(Bbabbled:
(B
(B Hello all
(B 
(B I compiled Eterm 0.9.2 a few days ago using Eterm-0.9.2.tar.gz
(B which I downloaded from eterm.sourceforge.net.
(B This Eterm works fine, but without "--mfont" option I can not
(B use multibyte fonts such as Japanese. That is, even if I add
(B a "multichar" context like the following to
(B /usr/local/share/Eterm/themes/Eterm/theme.cfg,
(B 
(B   begin multichar
(B   encoding eucj
(B   font 0 -misc-fixed-merium-r-normal--14-130-75-75-c-140-jisx0208.1983-0
(B   font 1 -misc-fixed-merium-r-normal--16-160-75-75-c-160-jisx0208.1983-0
(B   font 2 -misc-fixed-merium-r-normal--14-130-75-75-c-140-jisx0208.1983-0
(B   font 3 -misc-fixed-merium-r-normal--16-160-75-75-c-160-jisx0208.1983-0
(B   font 4 -misc-fixed-merium-r-normal--16-160-75-75-c-160-jisx0208.1983-0
(B   end multichar
(B 
(B when invoking this Eterm without using "--mfont" option, I can
(B not show a text file written in Japanese, in this case tiny
(B rectangular figures are displayed instead of Japanese characters,
(B or input Japanese characters.
(B 
(B When invoking this Eterm with, for example, "--mfont k14",
(B I can both read and write Japanese normally.
(B 
(B Is the behavior of my Eterm correct ? Whether there is
(B "multichar" context in theme.cfg or not, do I always have to
(B use "--mfont" option in order to use multichar fonts such
(B as Japanese ?
(B 
(B Thanks for any help.
(B
$B$3$l(B $B$O(B $B$o$?$7(B $B$N(B Eterm theme.cfg $B$7$g$7$F(B [EMAIL 
(BPROTECTED]$V(B $B$G$9!#(B
(B
(B:)
(B
(B-
(B
(BEterm-0.9
(Bbegin main
(B  begin color
(Bforeground #aa
(Bbackground #00
(Bcursor #ff
(Bcursor_text #44
(Bscrollbar #3f1c00
(Bunfocused_scrollbar #77
(Bmenu #77
(Bunfocused_menu #77
(Bmenu_text black
(Bpointer #ff
(B
(Bvideo normal
(B
(Bforeground #aa
(Bbackground #00
(Bcolor  0 0x1e 0x1e 0x1e
(Bcolor  1 0x88 0x55 0x55
(Bcolor  2 0x55 0x88 0x55
(Bcolor  3 0xaa 0x88 0x66
(Bcolor  4 0x55 0x55 0x88
(Bcolor  5 0x88 0x55 0x88
(Bcolor  6 0x55 0x88 0x88
(Bcolor  7 0xaa 0xaa 0xaa
(Bcolor  8 0x44 0x44 0x44
(Bcolor  9 0xcc 0x88 0x88
(Bcolor 10 0x88 0xcc 0x88
(Bcolor 11 0xcc 0xcc 0x88
(Bcolor 12 0x88 0x88 0xcc
(Bcolor 13 0xcc 0x88 0xcc
(Bcolor 14 0x88 0xcc 0xcc
(Bcolor 15 0xff 0xff 0xff
(Bcolor bd #ff
(Bcolor ul #ff
(B  end color
(B  
(B  begin attributes
(Bname %appname()
(B
(Bfont default 0
(Bfont proportional 0
(Bfont 0 nexus
(Bfont 1 7x14
(Bfont 2 8x16
(Bfont 3 9x18
(Bfont 4 12x24
(B  end attributes
(B  
(B  begin multichar
(Bencoding eucj
(Bfont 0 k10
(Bfont 1 k14
(Bfont 2 kanji16
(Bfont 3 k18
(Bfont 4 kanji24
(B  end multichar
(B  
(B  begin actions
(Bbind ctrl button1 to string "\e]5;\a"
(Bbind ctrl button2 to string "\e[?30t"
(Bbind ctrl button3 to menu Eterm
(B  end actions
(B  
(B  begin toggles
(Bmap_alert on
(Bvisual_bell off
(Blogin_shell true
(Bscrollbar off
(Butmp_logging on
(Bselect_line false
(Biconic false
(Bhome_on_echo 1
(Bhome_on_refresh 1
(Bscrollbar_right true
(Bscrollbar_floating false
(Bborderless false
(B  end toggles
(B
(B  begin keyboard
(Bsmallfont_key LessThan
(Bbigfont_key GreaterThan
(Bkeysym 0xff08 "^?"
(Bkeysym 0xffbe "^[OP"
(Bkeysym 0xffbf "^[OQ"
(Bkeysym 0xffc0 "^[OR"
(Bkeysym 0xffc1 "^[OS"
(B  end keyboard
(B
(B  begin misc
(Bsave_lines 4096
(Bcut_chars "\t\\\`\\\"\'() *,;=[EMAIL PROTECTED]|}"
(Bborder_width 1
(Bterm_name xterm
(B  end misc
(Bend main
(B
(B
(B
(Bmaybe this will work for you. it works for me! (japanese and all) :)
(B
(B
(B-- 
(B- Codito, ergo sum - "I code, therefore I am" --
(BThe Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
$B7'<*(B - $Bhttp://ads.osdn.com/?ad_id=1356alloc_id=3438op=click
(B___
(Benlightenment-users mailing list
(B[EMAIL PROTECTED]
(Bhttps://lists.sourceforge.net/lists/listinfo/enlightenment-users