From: Li Yanrui <lyr.m2@live.cn>
To: "ntg-context@ntg.nl" <ntg-context@ntg.nl>
Subject: \setscript[hanzi] seems broken.
Date: Thu, 20 May 2021 07:14:15 +0000 [thread overview]
Message-ID: <TYZPR06MB393501AC4501E0D8DBE2C7B1D92A9@TYZPR06MB3935.apcprd06.prod.outlook.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 912 bytes --]
Hi,
After updating ConTeXt lmtx 2021.05.19 18:22, the line breaking with chinese characters does not work.
The following is a simple example:
```
% This font can be downloaded from
% https://github.com/adobe-fonts/source-han-serif/raw/release/OTF/SourceHanSerifSC_EL-M.zip
\definefontfamily[myfont][serif][sourcehanserifcn]
\setscript[hanzi]
\setupbodyfont[myfont,11pt]
\setuppapersize[A6][A6]
\starttext
北冥有鱼,其名为鲲。鲲之大,不知其几千里也;化而为鸟,其名为鹏。鹏之背,不知其几千里也;怒而飞,其翼若垂天之云。是鸟也,海运则将徙于南冥。南冥者,天池也。
\stoptext
```
The command `context` gives the following output:
Overfull \hbox (633.72849pt too wide) in paragraph at lines 7--1
<2: SourceHanSerifCN-Regular @ 11.0pt> 北冥有鱼,其名为鲲。鲲之大,不知其几千里也;化而为鸟,其名为鹏。鹏之背,不知其几千里也;怒而飞,其翼若垂天之云。是鸟也,海运则将徙于南冥。南冥者,天池也。
[-- Attachment #1.2: Type: text/html, Size: 2712 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2021-05-20 7:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-20 7:14 Li Yanrui [this message]
2021-05-20 10:45 ` Li Yanrui (李延瑞)
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=TYZPR06MB393501AC4501E0D8DBE2C7B1D92A9@TYZPR06MB3935.apcprd06.prod.outlook.com \
--to=lyr.m2@live.cn \
--cc=ntg-context@ntg.nl \
/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 NNTP newsgroup(s).