Re: [NTG-context] can not get the quotation marks from the fallback fonts

2014-01-08 Thread Wolfgang Schuster

Am 08.01.2014 um 08:57 schrieb Li Yanrui (李延瑞) liyanrui...@gmail.com:

 Thank you, Wolfgang. I have find the new simplefonts can solve these problems 
 after i posted that mail. This is a good news for me athough it appeared for 
 a long time.

The \definefallbackfamily uses “force=yes” and “check=no” as default values for 
the \definefontfallback command unless you set different values for both keys.

Wolfgang
___
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] can not get the quotation marks from the fallback fonts

2014-01-07 Thread 李延瑞
Hi,

i find the quotation marks in those chinese fallback fonts can not work as
before. They always be replaced with the latin fonts. please see the
following example:

\definefontsynonym[pagella][name:texgyrepagellaregular]
\definefontfallback[song][name:adobesongstd][0x00400-0x2FA1F]
\definefontsynonym[fbsong][pagella][fallbacks=song]
\definefont[newsong][fbsong]

\starttext
\newsong 中文的\quotation{引号}。
\stoptext

i have another question, when i make texgyrepagellaregular as the fallback
font for adobesongstd, it can not work. see the following example:

\definefontsynonym[song][name:adobesongstd]
\definefontfallback[pagella][name:texgyrepagellaregular][0x-0x0400]
\definefontsynonym[fbsong][song][fallbacks=pagella]
\definefont[newsong][fbsong]

\starttext
\newsong 夹杂 English 的中文文本
\stoptext

the above English word is still display with adobesongstd but not pagella.

-- 
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] can not get the quotation marks from the fallback fonts

2014-01-07 Thread Wolfgang Schuster

Am 08.01.2014 um 03:23 schrieb Li Yanrui (李延瑞) liyanrui...@gmail.com:

 Hi,
 
 i find the quotation marks in those chinese fallback fonts can not work as 
 before. They always be replaced with the latin fonts. please see the 
 following example:
 
 \definefontsynonym[pagella][name:texgyrepagellaregular]
 \definefontfallback[song][name:adobesongstd][0x00400-0x2FA1F]
 \definefontsynonym[fbsong][pagella][fallbacks=song]
 \definefont[newsong][fbsong]
 
 \starttext
 \newsong 中文的\quotation{引号}。
 \stoptext
 
 i have another question, when i make texgyrepagellaregular as the fallback 
 font for adobesongstd, it can not work. see the following example:
 
 \definefontsynonym[song][name:adobesongstd]
 \definefontfallback[pagella][name:texgyrepagellaregular][0x-0x0400]
 \definefontsynonym[fbsong][song][fallbacks=pagella]
 \definefont[newsong][fbsong]
 
 \starttext
 \newsong 夹杂 English 的中文文本
 \stoptext
 
 the above English word is still display with adobesongstd but not patella.

You have to use \definefontfallback[...][...][...][force=yes] .


When you want to use these font setting for your whole document it’s better to 
set the fallback for the body font:

\definefallbackfamily [mainface] [serif] [Adobe Song Std] [range:chinese] % 
[range:chinese] == [preset=range:chinese]
\definefallbackfamily [mainface] [serif] [Adobe Song Std] [range={201C,201D}]
\definefontfamily [mainface] [serif] [TeX Gyre Pagella]

\setupbodyfont[mainface]

\starttext
中文的\quotation{引号}。
\stoptext


Wolfgang
___
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] can not get the quotation marks from the fallback fonts

2014-01-07 Thread 李延瑞
Thank you, Wolfgang. I have find the new simplefonts can solve these
problems after i posted that mail. This is a good news for me athough it
appeared for a long time.

-- 
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___