emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nonono <poizxc@cock.li>
To: Shiyao MA <i@introo.me>, emacs-org list <emacs-orgmode@gnu.org>
Subject: Re: Definition list not highlight for japanese character.
Date: Tue, 19 Dec 2017 09:15:38 +0900	[thread overview]
Message-ID: <87efnr374l.fsf@gmail.com> (raw)
In-Reply-To: <CAJQX3Dxe5_iDkzTbusvTTj-d7YBnzn664ijmhBqhq1wcz-GZ_g@mail.gmail.com>


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

  parent reply	other threads:[~2017-12-19  0:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2017-12-19  0:32   ` Shiyao MA

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87efnr374l.fsf@gmail.com \
    --to=poizxc@cock.li \
    --cc=emacs-orgmode@gnu.org \
    --cc=i@introo.me \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).