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][0x0000-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
___________________________________________________________________________________

Reply via email to