emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Definition list not highlight for japanese character.
@ 2017-12-18  4:35 Shiyao MA
  2017-12-18 13:06 ` Nicolas Goaziou
  2017-12-19  0:15 ` Nonono
  0 siblings, 2 replies; 4+ messages in thread
From: Shiyao MA @ 2017-12-18  4:35 UTC (permalink / raw)
  To: emacs-org list

Hi,

Definition list not highlight for japanese character.

for example, check this picture:
https://imgur.com/a/dBKt6

どういたしまして is not highlighted, where asdf is highlighted.

-- 
Best,
Shiyao

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

* Re: Definition list not highlight for japanese character.
  2017-12-18  4:35 Definition list not highlight for japanese character Shiyao MA
@ 2017-12-18 13:06 ` Nicolas Goaziou
  2017-12-19  0:15 ` Nonono
  1 sibling, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2017-12-18 13:06 UTC (permalink / raw)
  To: Shiyao MA; +Cc: emacs-org list

Hello,

Shiyao MA <i@introo.me> writes:

> Definition list not highlight for japanese character.
>
> for example, check this picture:
> https://imgur.com/a/dBKt6
>
> どういたしまして is not highlighted, where asdf is highlighted.

I cannot reproduce it in a recent Org. You may want to update it.

Regards,

-- 
Nicolas Goaziou

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

* Re: Definition list not highlight for japanese character.
  2017-12-18  4:35 Definition list not highlight for japanese character Shiyao MA
  2017-12-18 13:06 ` Nicolas Goaziou
@ 2017-12-19  0:15 ` Nonono
  2017-12-19  0:32   ` Shiyao MA
  1 sibling, 1 reply; 4+ messages in thread
From: Nonono @ 2017-12-19  0:15 UTC (permalink / raw)
  To: Shiyao MA, emacs-org list


Hello Shiyao,

I think your CJK font doesn't support a bold type.  Do you can see as a
bold font when you type *いろはにほへどちりぬるを* in the org-mode?

If you have the Japanese font which supports a bold type like "Hiragino
Maru Gothic ProN", you try below with your own risk:

  (let ((lst '((#x3000 . #x303f) ; Japanese-style punctuation
               (#x3040 . #x309f) ; hiragana 
               (#x30a0 . #x30ff) ; katakana
               (#xff00 . #xffef) ; full-width roman and half-width katakana
               (#x4e00 . #x9faf) ; cjk unified-ideographs
               )))
    (while lst
      (set-fontset-font
       nil (car lst)
       (font-spec :family "Hiragino Maru Gothic ProN" :size 16))
      (setq lst (cdr lst))))

Change "Hiragino Maru Gothic ProN" to the font what you have, and find
a good-looking font by trial-and-error.

Best.

Nonono.

Shiyao MA <i@introo.me> writes:

> Hi,
>
> Definition list not highlight for japanese character.
>
> for example, check this picture:
> https://imgur.com/a/dBKt6
>
> どういたしまして is not highlighted, where asdf is highlighted.
>
> -- 
> Best,
> Shiyao
>
-- 
Nonono

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

* Re: Definition list not highlight for japanese character.
  2017-12-19  0:15 ` Nonono
@ 2017-12-19  0:32   ` Shiyao MA
  0 siblings, 0 replies; 4+ messages in thread
From: Shiyao MA @ 2017-12-19  0:32 UTC (permalink / raw)
  To: Nonono; +Cc: emacs-org list

Thanks for you guys!

Today I tested with the japanese chars and they are rendered
bold/highlighted.  The problem has automatically gone.

Best,

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

end of thread, other threads:[~2017-12-19  0:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-18  4:35 Definition list not highlight for japanese character Shiyao MA
2017-12-18 13:06 ` Nicolas Goaziou
2017-12-19  0:15 ` Nonono
2017-12-19  0:32   ` Shiyao MA

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).