public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
To: cygwin@cygwin.com
Subject: Re: emacs/unicode/chinese tone indication question
Date: Sun, 15 Oct 2017 05:24:00 -0000	[thread overview]
Message-ID: <c779451a-bcf7-a780-8f47-5c833b2a5ea2@SystematicSw.ab.ca> (raw)
In-Reply-To: <orugu4$er8$1@blaine.gmane.org>

On 2017-10-14 20:25, Will Parsons wrote:
> I use Emacs under multiple operating systems, but chiefly nowadays under
> FreeBSD and Cygwin/Windows.
> 
> I want to use Chinese tone marks in discussing historical Chinese forms, and
> by "Chinese tone marks" I *don't* mean the overhead vowel marks that are part
> of pinyin, but the marks indicated by Unicode characters A700 - A707.  These
> seem to have little support in the more common fonts.
> 
> I *have* managed to make these (admittedly unusual) characters visible under
> FreeBSD by installing the DoulosSIL package.  But how do I do this under
> Cygwin?  (I am interested in both a native Windows and Cygwin/X solution.)

Have a look at the fonts mentioned here:
	http://www.alanwood.net/unicode/fontsbyrange.html#ua700
	http://www.alanwood.net/unicode/modifier-tone-letters.html

There are Cygwin packages to install for:
	dejavu-fonts
	noto-cjk-fonts
	noto-simplified-chinese-fonts
	noto-traditional-chinese-fonts

I use the Deja Vu fonts (Mono, Sans, Serif) for terminals, editors, browsers,
and other apps where fonts may be specified, across systems, as they support a
lot of characters and ranges, are updated to track Unicode changes, and widely
packaged.

Cygwin Setup permanent postinstall fontconfig script should set these fonts up
for use by emacs and other apps.

Once installed under Cygwin, you can install these into Windows by running:
	$ cygstart /usr/share/fonts/dejavu/
then dragging the TTF files into the Windows Fonts folder.

You can do similarly with the Google Noto (No Tofu - .jp slang for undefined
char glyph) fonts, which I don't use, as there are separate packages for
different language and subranges, although character and range support should be
more comprehensive.

The above and other fonts mentioned are available in other distributions e.g.
Debian/Ubuntu packages fonts-sil-charis and fonts-sil-doulos (also fonts-dejavu
and fonts-noto) which may be installed if you have Windows Subsystem for
Linux/"Bash for Windows" and copied similarly to Cygwin fonts by running under
Cygwin:
	$ cygstart ~/AppData/Local/lxss/rootfs/usr/share/fonts/truetype/
then dragging the TTF files from the charis, doulos, dejavu, noto subdirectories
into the Windows Fonts folder.

The other fonts mentioned are readily available by searching on the web.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

  reply	other threads:[~2017-10-15  5:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-15  2:25 Will Parsons
2017-10-15  5:24 ` Brian Inglis [this message]
2017-10-15 23:45   ` Will Parsons

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

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

  git send-email \
    --in-reply-to=c779451a-bcf7-a780-8f47-5c833b2a5ea2@SystematicSw.ab.ca \
    --to=brian.inglis@systematicsw.ab.ca \
    --cc=cygwin@cygwin.com \
    /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.
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).