ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* 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
[parent not found: <mailman.1165.1411836721.2240.ntg-context@ntg.nl>]
* 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
[parent not found: <mailman.3.1411812001.24197.ntg-context@ntg.nl>]
* 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
* 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
[parent not found: <mailman.1154.1411781457.2240.ntg-context@ntg.nl>]
* 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 --
2014-09-27 10:27 about Noto Sans CJK font problem Akira Kakuto
2014-09-27 12:51 ` Hans Hagen
     [not found] <mailman.1165.1411836721.2240.ntg-context@ntg.nl>
2014-09-28  8:28 ` Jeong Dal
  -- strict thread matches above, loose matches on Subject: below --
2014-09-28  3:26 Akira Kakuto
     [not found] <mailman.3.1411812001.24197.ntg-context@ntg.nl>
2014-09-27 16:51 ` Jeong Dal
2014-09-27 16:59   ` luigi scarso
2014-09-27 14:08 Akira Kakuto
2014-09-27 14:13 ` luigi scarso
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).