delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/10/15/01:24:55

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=YJ7ryoZFUQCCgajn
GkgfSgnSQ3xhwDjB7m+w8FOCYy43nrW1MO/KPRlGM1D3bi+3i0KrcWi4axRwjUc+
79RMbnQkG6kqUy8Q9NBgpc8gcWIUpEhVPWet28smD2/sI4musFvpVUpdrQcxwyzk
E6zAP9Tbp0T4cgbOE/W1KO6JPBc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=KFtku2WHFlsVg10iE1enEU
SlhnU=; b=F/OvAC3M79atxMxsSKkQx+3cnv2rkFIAJzj1Bg1wr+LwdNgrL+npss
3MCjhcNzhYnMPyjc43dAq73SvnfMrL9LXcLo2JOfjljLqL9k18ei5uvGLY7bVDZ6
+S7qQa9pRSujo1i23D+DHeNMEE3Alqx9twVDGVE5xfvAhfcnxwPrA=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.5 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=canada, Canada, sans, tone
X-HELO: smtp-out-no.shaw.ca
X-Authority-Analysis: v=2.2 cv=HahkdmM8 c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=IkcTkHD0fZMA:10 a=5EsrH__OAAAA:8 a=EctJmRR89HwoklhoROwA:9 a=QEXdDO2ut3YA:10 a=jsbypXYuwcQA:10 a=QHbFQM5pP3AA:10 a=mpfFaQrraxG_Po1VEsF-:22
Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca
Subject: Re: emacs/unicode/chinese tone indication question
To: cygwin AT cygwin DOT com
References: <orugu4$er8$1 AT blaine DOT gmane DOT org>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Message-ID: <c779451a-bcf7-a780-8f47-5c833b2a5ea2@SystematicSw.ab.ca>
Date: Sat, 14 Oct 2017 23:24:15 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0
MIME-Version: 1.0
In-Reply-To: <orugu4$er8$1@blaine.gmane.org>
X-CMAE-Envelope: MS4wfJat7RzNKFI50RkL1vfzDJnvYtqDW1pIZTErtK9mjmNzAPYJ4/04l7+O64W/+jyYQxnMlH94GxzXP0SrAV4P503A141zV5LlDfYKvvAxeX2kVgFP2iAP S9NoIDLVhQxj1VcmmVLpg+xes1vZSsujWE/ZvpEzvcbd4AvnMfq6RTkqPkda6kxFz3uBAmJXdp7XsQ==
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019