Re: [NTG-context] about Noto Sans CJK font problem
I updated ConTeXt standalone again and test it. The result is same as before. In the log file, it located the font but it issues the luatex error. The font version is 1.001. The only difference of the luatex which I can see is that (mine: Standalone, rev 4972) and (Luigi’s: TeXLive 2014, rev 5041). Does it matter? I may test it under TeXLive 2014 which I need to install it. Thank you. Best regards, Dalyoung Test code: \definefont[test][file:NotoSansCJKkr-Thin.otf at 14pt] \starttext \test TeX uses different fonts for text and math, but it possible to replace certain characters in the math font with glyphs from a text font. 한글이 잘 되는지 모르겠네요. \stoptext Log file: mtx-context | run 1: luatex —fmt=“/Users/graph/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en” —jobname=test --lua=/Users/graph/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui --no-parse-first-line --c:currentrun=1 --c:fulljobname=./test.tex --c:input=./test.tex --c:kindofrun=1 --c:maxnofruns=8 cont-yes.mkiv This is LuaTeX, Version beta-0.79.1 (TeX Live 2014/dev) (rev 4972) \write18 enabled. open source 1 1 /Users/graph/ConTeXt/tex/texmf-context/tex/context/base/cont-yes.mkiv ConTeXt ver: 2014.09.27 14:46 MKIV beta fmt: 2014.9.28 int: english/english system 'cont-new.mkiv' loaded open source 2 2 /Users/graph/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv close source 2 2 /Users/graph/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv system files jobname 'test', input './test', result 'test' fonts latin modern fonts are not preloaded languages language 'en' is active open source 2 3 /Users/graph/Documents/TeXfiles/test.tex fonts preloading latin modern fonts (second stage) fonts 'fallback modern-designsize rm 12pt' is loaded fonts otf loading loading '/Users/graph/Library/Fonts/NotoSansCJKkr-Thin.otf', hash 'notosanscjkkr-thin' fonts otf loading loading done fonts otf loading file size: 15177740 fonts otf loading fixing kernclass table of lookup 'pp_l_1_k_1' fonts otf loading 7 kern overloads ignored fonts encoding loading (extended) adobe glyph list fonts otf loading saving '/Users/graph/Library/Fonts/NotoSansCJKkr-Thin.otf' in cache system lua compiling '/Users/graph/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/notosanscjkkr-thin.tma' into '/Users/graph/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/notosanscjkkr-thin.tmc' system lua dumping '/Users/graph/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/notosanscjkkr-thin.tma' into '/Users/graph/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otf/notosanscjkkr-thin.tmc' stripped fonts otf loading preprocessing and caching time 13.783, packtime 0.980 backend xmp using file '/Users/graph/ConTeXt/tex/texmf-context/tex/context/base/lpdf-pdx.xml' pages flushing realpage 1, userpage 1 close source 2 3 /Users/graph/Documents/TeXfiles/test.tex close source 1 3 /Users/graph/ConTeXt/tex/texmf-context/tex/context/base/cont-yes.mkiv mtx-context | fatal error: no return code, message: luatex: execution interrupted ___ 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 ___
Re: [NTG-context] about Noto Sans CJK font problem
There may be another problem which I don’t know. I have tested your source by installing NotoSansCJKkr-Regular.otf etc. It seems to work OK. Note that I'm using .otf fonts, not .ttf ones. I attach cjkkrtest.tar.gz in which there are k.tex and k.pdf. Best, Akira cjkkrtest.tar.gz Description: GNU Zip compressed data ___ 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 ___
[NTG-context] about Noto Sans CJK font problem
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. 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 ___
Re: [NTG-context] about Noto Sans CJK font problem
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 - font.pdf Description: Adobe PDF document ___ 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 ___
[NTG-context] about Noto Sans CJK font problem
Hi Hans, ... ... gives the same output here. You must be testing with the 1.000 fonts. Yes, version 1.000 fonts worked with the ConTeXt. 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 ___
Re: [NTG-context] about Noto Sans CJK font problem
On Sat, Sep 27, 2014 at 12:19 PM, Hans Hagen pra...@wxs.nl wrote: 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) With $ context --version mtx-context | ConTeXt Process Management 0.61 mtx-context | mtx-context | main context file: /opt/luatex/standalone-mkiv-new-I/tex/texmf-context/tex/context/base/context.mkiv mtx-context | current version: 2014.09.26 11:42 under linux 64bit luatex crashes with error message mtx-context | fatal error: no return code, message: luatex: execution interrupted luatex experimental is ok and gives that same result as u.pdf Under WINE (linux) mingw 64bit, luatex.exe Version beta-0.79.1 (TeX Live 2014/W32TeX) (rev 5041) is ok luatex.exe experimental is also also ok and both give the same result of u.pdf Hans reported that the most recent luatex.exe mingw64 experimental is also ok for him, so probably it was an old mingw64; we are seeing it just now. The font used is NotoSansCJKjp-Regular.otf, ver 1.001 -- luigi ___ 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 ___
Re: [NTG-context] about Noto Sans CJK font problem
On 9/27/2014 12:27 PM, Akira Kakuto wrote: Hi Hans, ... ... gives the same output here. You must be testing with the 1.000 fonts. Yes, version 1.000 fonts worked with the ConTeXt. new beta ... it took me quite some tracing and time to figure out that we can better ignore the Identity cidmap .. Hans - 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 - ___ 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 ___
Re: [NTG-context] about Noto Sans CJK font problem
new beta ... it took me quite some tracing and time to figure out that we can better ignore the Identity cidmap .. Thank you very much. The PDF is correct now with 1.001 HanSans CJK fonts. Best regards, 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 ___
Re: [NTG-context] about Noto Sans CJK font problem
On Sat, Sep 27, 2014 at 4:08 PM, Akira Kakuto kak...@fuk.kindai.ac.jp wrote: new beta ... it took me quite some tracing and time to figure out that we can better ignore the Identity cidmap .. Thank you very much. The PDF is correct now with 1.001 HanSans CJK fonts. At page 98 (of the pdf) http://www.pragma-ade.nl/general/manuals/about.pdf it's explained why currently luajittex is slower than luatex for big (=many glyphs) fonts (the 65636 limit of nested tables) Unfortunately this is case of NotoSansCJKjp-Regular.otf . -- luigi ___ 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 ___
Re: [NTG-context] about Noto Sans CJK font problem
I have tested your source by installing NotoSansCJKkr-Regular.otf etc. It seems to work OK. Note that I'm using .otf fonts, not .ttf ones. I attach cjkkrtest.tar.gz in which there are k.tex and k.pdf. Your output is perfect. But I still get an error message which is as same as Luigi mentioned. Would you please send K.log file to compare with mine? luatex crashes with error message mtx-context | fatal error: no return code, message: latex: execution interrupted Under WINE (linux) mingw 64bit, luatex.exe Version beta-0.79.1 (TeX Live 2014/W32TeX) (rev 5041) is ok luatex.exe experimental is also also ok and both give the same result of u.pdf My version of latex is This is LuaTeX, Version beta-0.79.1 (TeX Live 2014/dev) (rev 4972) But it is not ok for me. Anyway, there is some problem in my TeX system rather than in the font. I’ll check it. I am using ConTeXt standalone in Mac Maveric. Thank you. Best regards, Dalyoung ___ 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 ___
Re: [NTG-context] about Noto Sans CJK font problem
On Sat, Sep 27, 2014 at 6:51 PM, Jeong Dal hak...@me.com wrote: I have tested your source by installing NotoSansCJKkr-Regular.otf etc. It seems to work OK. Note that I'm using .otf fonts, not .ttf ones. I attach cjkkrtest.tar.gz in which there are k.tex and k.pdf. Your output is perfect. But I still get an error message which is as same as Luigi mentioned. Would you please send K.log file to compare with mine? luatex crashes with error message mtx-context | fatal error: no return code, message: latex: execution interrupted Under WINE (linux) mingw 64bit, luatex.exe Version beta-0.79.1 (TeX Live 2014/W32TeX) (rev 5041) is ok luatex.exe experimental is also also ok and both give the same result of u.pdf My version of latex is This is LuaTeX, Version beta-0.79.1 (TeX Live 2014/dev) (rev 4972) I guess that this version is not ok, only the experimental version seems to work luatex --version This is LuaTeX, Version beta-0.79.1 (TeX Live 2015/dev) Unfortunately I cannot (still) compile an experimental version for Mac, only for linux windows But soon experimental will become trunk. -- luigi ___ 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 ___
[NTG-context] about Noto Sans CJK font problem
But I still get an error message which is as same as Luigi mentioned. Here the TeX Live 2014 version: 0.79.1 (rev 4971) does not work with the NotoSansCJKkr-Regular.otf. I'm using the current trunk version: 0.79.1 (rev 5041). Experimental version (rev 5057) will be better. 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 ___
[NTG-context] about Noto Sans CJK font problem
Dear all, Recently, I installed “Noto Sans CJK” font which is developed by Adobe and Google. After “mtxrun —generate”, luatex locates the font. For test, I run the following code and got “fatal error:no return code” message. Even though I didn’t include Korea test, it says the same error message. However, I can use the font in the text editor without problem. What is wrong in this case? Thank you. Best regards, Dalyoung %\definefontfamily[mainface] [rm] [Noto Sans CJKkr] %\setupbodyfont[mainface] \definefont[test][NotoSansCJKkr-Regular at 14pt] \starttext \test TeX uses different fonts for text and math, but it possible to replace certain characters in the math font with glyphs from a text font. %한글이 잘 되는지 모르겠네요. \stoptext log file: mtx-context | run 1: luatex --fmt=/Users/graph/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en --jobname=test --lua=/Users/graph/ConTeXt/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui --no-parse-first-line --c:currentrun=1 --c:fulljobname=./test.tex --c:input=./test.tex --c:kindofrun=1 --c:maxnofruns=8 cont-yes.mkiv This is LuaTeX, Version beta-0.79.1 (TeX Live 2014/dev) (rev 4972) \write18 enabled. open source 1 1 /Users/graph/ConTeXt/tex/texmf-context/tex/context/base/cont-yes.mkiv ConTeXt ver: 2014.07.30 10:31 MKIV beta fmt: 2014.8.6 int: english/english system 'cont-new.mkiv' loaded open source 2 2 /Users/graph/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv close source 2 2 /Users/graph/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv system files jobname 'test', input './test', result 'test' fonts latin modern fonts are not preloaded languages language 'en' is active open source 2 3 /Users/graph/Documents/TeXfiles/test.tex fonts preloading latin modern fonts (second stage) fonts 'fallback modern-designsize rm 12pt' is loaded backend xmp using file '/Users/graph/ConTeXt/tex/texmf-context/tex/context/base/lpdf-pdx.xml' pages flushing realpage 1, userpage 1 close source 2 3 /Users/graph/Documents/TeXfiles/test.tex close source 1 3 /Users/graph/ConTeXt/tex/texmf-context/tex/context/base/cont-yes.mkiv mtx-context | fatal error: no return code, message: luatex: execution interrupted ___ 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 ___
[NTG-context] about Noto Sans CJK font problem
Recently, I installed “Noto Sans CJK” font which is developed by Adobe and Google. After “mtxrun —generate”, luatex locates the font. For test, I run the following code and got “fatal error:no return code” message. Even though I didn’t include Korea test, it says the same error message. In the case of NotoSansCJKjp-Regular, context ends without errors (mtx-context | current version: 2014.09.26 11:42). However the resulting PDF shows incorrect characters. I attach nototest.tar.gz: source = u.tex result = u.pdf Compare with the correct XeTeX case: source = u1.tex result = u1.pdf Best, Akira nototest.tar.gz Description: GNU Zip compressed data ___ 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 ___
Re: [NTG-context] about Noto Sans CJK font problem
Dear Akira, Thank you for your test. I updated to ConTeXt ver: 2014.09.26 11:42 MKIV beta and test it again. But I got the same error. There may be another problem which I don’t know. Thank you again. Best regards, Dalyoung -- Message: 6 Date: Sat, 27 Sep 2014 10:30:51 +0900 From: Akira Kakuto kak...@fuk.kindai.ac.jp To: ntg-context@ntg.nl Subject: [NTG-context] about Noto Sans CJK font problem Message-ID: 2136E6CBAF67499789D6C08EDA3FE859@CJ3001517A Content-Type: text/plain; charset=utf-8; Format=flowed Recently, I installed ?Noto Sans CJK? font which is developed by Adobe and Google. After ?mtxrun ?generate?, luatex locates the font. For test, I run the following code and got ?fatal error:no return code? message. Even though I didn?t include Korea test, it says the same error message. In the case of NotoSansCJKjp-Regular, context ends without errors (mtx-context | current version: 2014.09.26 11:42). However the resulting PDF shows incorrect characters. I attach nototest.tar.gz: source = u.tex result = u.pdf Compare with the correct XeTeX case: source = u1.tex result = u1.pdf Best, Akira -- next part -- A non-text attachment was scrubbed... Name: nototest.tar.gz Type: application/x-gzip Size: 9937 bytes Desc: not available URL: http://www.ntg.nl/pipermail/ntg-context/attachments/20140927/a0769181/attachment.bin -- ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ End of ntg-context Digest, Vol 123, Issue 40 ___ 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 ___