ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \setscript[hanzi] seems broken.
@ 2021-05-20  7:14 Li Yanrui
  2021-05-20 10:45 ` Li Yanrui (李延瑞)
  0 siblings, 1 reply; 2+ messages in thread
From: Li Yanrui @ 2021-05-20  7:14 UTC (permalink / raw)
  To: ntg-context


[-- 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
___________________________________________________________________________________

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

* Re: \setscript[hanzi] seems broken.
  2021-05-20  7:14 \setscript[hanzi] seems broken Li Yanrui
@ 2021-05-20 10:45 ` Li Yanrui (李延瑞)
  0 siblings, 0 replies; 2+ messages in thread
From: Li Yanrui (李延瑞) @ 2021-05-20 10:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Li Yanrui <lyr.m2@live.cn> 于2021年5月20日周四 下午3:15写道:
>
> 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> 北冥有鱼,其名为鲲。鲲之大,不知其几千里也;化而为鸟,其名为鹏。鹏之背,不知其几千里也;怒而飞,其翼若垂天之云。是鸟也,海运则将徙于南冥。南冥者,天池也。
>

Works fine with the latest version 2021.05.20 11:08.

-- 
Best regards,

Li Yanrui
___________________________________________________________________________________
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
___________________________________________________________________________________

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

end of thread, other threads:[~2021-05-20 10:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-20  7:14 \setscript[hanzi] seems broken Li Yanrui
2021-05-20 10:45 ` Li Yanrui (李延瑞)

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).