ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: about Noto Sans CJK font problem
       [not found] <mailman.3.1411812001.24197.ntg-context@ntg.nl>
@ 2014-09-27 16:51 ` Jeong Dal
  2014-09-27 16:59   ` luigi scarso
  0 siblings, 1 reply; 15+ messages in thread
From: Jeong Dal @ 2014-09-27 16:51 UTC (permalink / raw)
  To: ntg-context



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

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

* Re: about Noto Sans CJK font problem
  2014-09-27 16:51 ` about Noto Sans CJK font problem Jeong Dal
@ 2014-09-27 16:59   ` luigi scarso
  0 siblings, 0 replies; 15+ messages in thread
From: luigi scarso @ 2014-09-27 16:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1212 bytes --]

On Sat, Sep 27, 2014 at 6:51 PM, Jeong Dal <haksan@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

[-- Attachment #1.2: Type: text/html, Size: 1897 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: about Noto Sans CJK font problem
       [not found] <mailman.1165.1411836721.2240.ntg-context@ntg.nl>
@ 2014-09-28  8:28 ` Jeong Dal
  0 siblings, 0 replies; 15+ messages in thread
From: Jeong Dal @ 2014-09-28  8:28 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

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

* about Noto Sans CJK font problem
@ 2014-09-28  3:26 Akira Kakuto
  0 siblings, 0 replies; 15+ messages in thread
From: Akira Kakuto @ 2014-09-28  3:26 UTC (permalink / raw)
  To: ntg-context

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


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

* Re: about Noto Sans CJK font problem
  2014-09-27 14:08 Akira Kakuto
@ 2014-09-27 14:13 ` luigi scarso
  0 siblings, 0 replies; 15+ messages in thread
From: luigi scarso @ 2014-09-27 14:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 555 bytes --]

On Sat, Sep 27, 2014 at 4:08 PM, Akira Kakuto <kakuto@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

[-- Attachment #1.2: Type: text/html, Size: 1274 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: about Noto Sans CJK font problem
@ 2014-09-27 14:08 Akira Kakuto
  2014-09-27 14:13 ` luigi scarso
  0 siblings, 1 reply; 15+ messages in thread
From: Akira Kakuto @ 2014-09-27 14:08 UTC (permalink / raw)
  To: ntg-context

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


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

* Re: about Noto Sans CJK font problem
  2014-09-27 10:27 Akira Kakuto
@ 2014-09-27 12:51 ` Hans Hagen
  0 siblings, 0 replies; 15+ messages in thread
From: Hans Hagen @ 2014-09-27 12:51 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


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

* Re: about Noto Sans CJK font problem
  2014-09-27 10:19 ` Hans Hagen
@ 2014-09-27 12:07   ` luigi scarso
  0 siblings, 0 replies; 15+ messages in thread
From: luigi scarso @ 2014-09-27 12:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1882 bytes --]

On Sat, Sep 27, 2014 at 12:19 PM, Hans Hagen <pragma@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

[-- Attachment #1.2: Type: text/html, Size: 3303 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* about Noto Sans CJK font problem
@ 2014-09-27 10:27 Akira Kakuto
  2014-09-27 12:51 ` Hans Hagen
  0 siblings, 1 reply; 15+ messages in thread
From: Akira Kakuto @ 2014-09-27 10:27 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


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

* Re: about Noto Sans CJK font problem
  2014-09-27 10:07 Akira Kakuto
@ 2014-09-27 10:19 ` Hans Hagen
  2014-09-27 12:07   ` luigi scarso
  0 siblings, 1 reply; 15+ messages in thread
From: Hans Hagen @ 2014-09-27 10:19 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: text/plain, Size: 2010 bytes --]

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

[-- Attachment #2: font.pdf --]
[-- Type: application/pdf, Size: 6118 bytes --]

[-- Attachment #3: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* about Noto Sans CJK font problem
@ 2014-09-27 10:07 Akira Kakuto
  2014-09-27 10:19 ` Hans Hagen
  0 siblings, 1 reply; 15+ messages in thread
From: Akira Kakuto @ 2014-09-27 10:07 UTC (permalink / raw)
  To: ntg-context

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


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

* Re: about Noto Sans CJK font problem
@ 2014-09-27  7:41 Akira Kakuto
  0 siblings, 0 replies; 15+ messages in thread
From: Akira Kakuto @ 2014-09-27  7:41 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: text/plain, Size: 282 bytes --]

> 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

[-- Attachment #2: cjkkrtest.tar.gz --]
[-- Type: application/x-gzip, Size: 8768 bytes --]

[-- Attachment #3: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: about Noto Sans CJK font problem
       [not found] <mailman.1154.1411781457.2240.ntg-context@ntg.nl>
@ 2014-09-27  5:17 ` Jeong Dal
  0 siblings, 0 replies; 15+ messages in thread
From: Jeong Dal @ 2014-09-27  5:17 UTC (permalink / raw)
  To: ntg-context

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" <kakuto@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
___________________________________________________________________________________

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

* about Noto Sans CJK font problem
@ 2014-09-27  1:30 Akira Kakuto
  0 siblings, 0 replies; 15+ messages in thread
From: Akira Kakuto @ 2014-09-27  1:30 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: text/plain, Size: 648 bytes --]

> 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

[-- Attachment #2: nototest.tar.gz --]
[-- Type: application/x-gzip, Size: 9937 bytes --]

[-- Attachment #3: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* about Noto Sans CJK font problem
@ 2014-09-26 23:15 Jeong Dal
  0 siblings, 0 replies; 15+ messages in thread
From: Jeong Dal @ 2014-09-26 23:15 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

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

end of thread, other threads:[~2014-09-28  8:28 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.3.1411812001.24197.ntg-context@ntg.nl>
2014-09-27 16:51 ` about Noto Sans CJK font problem Jeong Dal
2014-09-27 16:59   ` luigi scarso
     [not found] <mailman.1165.1411836721.2240.ntg-context@ntg.nl>
2014-09-28  8:28 ` Jeong Dal
2014-09-28  3:26 Akira Kakuto
  -- strict thread matches above, loose matches on Subject: below --
2014-09-27 14:08 Akira Kakuto
2014-09-27 14:13 ` luigi scarso
2014-09-27 10:27 Akira Kakuto
2014-09-27 12:51 ` Hans Hagen
2014-09-27 10:07 Akira Kakuto
2014-09-27 10:19 ` Hans Hagen
2014-09-27 12:07   ` luigi scarso
2014-09-27  7:41 Akira Kakuto
     [not found] <mailman.1154.1411781457.2240.ntg-context@ntg.nl>
2014-09-27  5:17 ` Jeong Dal
2014-09-27  1:30 Akira Kakuto
2014-09-26 23:15 Jeong Dal

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