On 9/27/2014 12:07 PM, Akira Kakuto wrote:
However the resulting PDF shows incorrect characters.
Incorrect characters are in "Hirakana" and "Katakana". The incorrect Japanese characters are also shown in the case of "SourceHanSans-Regular.otf", the same feature in the case of "NotoSansCJKjp-Regular.otf". On the other hand, if I use "SourceHanSansJP-Regular.otf", all characters seem to be correct. All fonts are version 1.001.
\starttext \definefont[testa][file:notosanscjk-regular.otf at 14pt] \definefont[testb][file:sourcehansansjp-regular.otf at 14pt] \startTEXpage[offset=10pt] \testa 日本語のテスト。 \par \testb 日本語のテスト。 \stopTEXpage \stoptext gives the same output here (runs ok with your native ms bins, crashes with mingw experimental)
In the case of XeTeX with the latest xdvipdfmx in the TL repository, "SourceHanSans-Regular.otf", "SourceHanSansJP-Regular.otf", and "NotoSansCJKjp-Regular.otf" give the same correct results.
Best, Akira
___________________________________________________________________________________
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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------