all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Character and font sets for Japanese
@ 2010-08-23  2:35 soichi
  2010-08-25 19:12 ` Ivan Kanis
  0 siblings, 1 reply; 3+ messages in thread
From: soichi @ 2010-08-23  2:35 UTC (permalink / raw)
  To: help-gnu-emacs


HI.  I am not so used to setting Emacs, so please be advised.

Right now I am trying to use org-mode but have encountered a problem in putting entries in Japanese.  When typing in spreadsheet in this language, the cells are deformed and do not align properly.  
I have asked this question in Org-mode ML, then received an answer like,

"When table alignment fails, it usually has to do with character sets where some characters have non-integer width. Org will deal correctly with characters that are one or two or three ASCII characters wide, but not with characters that are, for example, 1.5 ASCII characters wide. To make table alignment work you need to switch to a different character set."

So, the problem comes down to setting character sets.  But I am not even sure the concepts of "character set", "coding", and "font".  This seems very important for myself to keep using Emacs from now on.

Currently, I have set 

;;----------------------------------------
(set-default-font "Inconsolata-11")
(set-face-font 'variable-pitch "Inconsolata-11")
(set-fontset-font (frame-parameter nil 'font)
                  'japanese-jisx0208
                  '("VL Gothic" . "unicode-bmp"))
;;----------------------------------------

I have simply copied this from a site, so I do not really understand which does what ...

                  'japanese-jisx0208

Is this the character set?  Looks like it.

How can I set 

"...one or two or three ASCII characters wide"

?

Thanks in advance.

soichi

P.S. If there is a good book or site that describes the information I'm looking for, please let me know.



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

end of thread, other threads:[~2010-08-25 19:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.11.1282606341.25104.help-gnu-emacs@gnu.org>
2010-08-24  8:45 ` Character and font sets for Japanese Jason Rumney
2010-08-23  2:35 soichi
2010-08-25 19:12 ` Ivan Kanis

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.