From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/75021 Path: news.gmane.org!not-for-mail From: S Barmeier Newsgroups: gmane.comp.tex.context Subject: Re: ntg-context Digest, Vol 93, Issue 36 Date: Sun, 11 Mar 2012 12:44:44 +0530 Message-ID: <4F5C50E4.1020701@googlemail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1331450112 5860 80.91.229.3 (11 Mar 2012 07:15:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 11 Mar 2012 07:15:12 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun Mar 11 08:15:11 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S6czm-0004IN-8g for gctc-ntg-context-518@m.gmane.org; Sun, 11 Mar 2012 08:15:10 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 28E2ECB31E; Sun, 11 Mar 2012 08:15:09 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id cilwm4pu5mYT; Sun, 11 Mar 2012 08:15:05 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 96A0CCB310; Sun, 11 Mar 2012 08:15:05 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7D208CB310 for ; Sun, 11 Mar 2012 08:15:04 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id vfUQeEHdbGS4 for ; Sun, 11 Mar 2012 08:14:53 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 6AA9ECB30A for ; Sun, 11 Mar 2012 08:14:52 +0100 (CET) Original-Received: from mail-pz0-f41.google.com (mail-pz0-f41.google.com [209.85.210.41]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q2B7EoLf005199 for ; Sun, 11 Mar 2012 08:14:51 +0100 Original-Received: by dadv6 with SMTP id v6so3877568dad.14 for ; Sat, 10 Mar 2012 23:14:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=z+gPvNCqY1kpXigHkgfLD3NkpcAX7lL2MAfZFOkMFkU=; b=06EqpaNHku9Pc2IbZokt5Rqx0Uwt9BIC+Lmi5EeAOVOSep147aPm7fU8qAHr/JFJCi XWI6fA0sYc57EqPra0/c6d/uzBlHrt+gYWkObbjdzH1/ca950FhOOVvOhMgDekMY1nl+ UvNQbPVuQ1Q9Uk1s/ZyXIU5WAEudJamRrSosB3fQAZbOxPTbsC78yBsiztoepZXaE7X0 jfX+j0G97tRdPQtLyZIFR87no1edPl1CfTD4x7pKBqDG/sf2pP0Rh1bJMRfVDOjQhAUJ T6PmTBKA7jdItXiC11f5/2mMfF6cQk8T5KmHsg3kRY4wITnUa2K4bsL3GmZPawA0UVFB 1z2w== Original-Received: by 10.68.197.228 with SMTP id ix4mr12475084pbc.101.1331450090193; Sat, 10 Mar 2012 23:14:50 -0800 (PST) Original-Received: from [192.168.1.5] ([117.218.48.4]) by mx.google.com with ESMTPS id z1sm7685630pbc.38.2012.03.10.23.14.48 (version=SSLv3 cipher=OTHER); Sat, 10 Mar 2012 23:14:49 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 In-Reply-To: X-Enigmail-Version: 1.3.5 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.210.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QGI7ePVc - e5ca8d6b9442 - 20120311 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:75021 Archived-At: > I use a Korean unfont as main fonts and an English fonts as fallback font using the following type script file which is made by the help of Hans and D.H. Kim. > You may set fonts similarly. > > Korean fonts contained Chinese glyph(not all of them) and Japanese glyph, we don't have any problem to use them. > > I hope that it may help you to find a solution of your problem. > > Best regards, > > Dalyoung Thank you. I tried to adapt this (see below), but I'm not sure how to invoke this typescript. There are \usetypescript \setupbodyfont and \setmainfont from the simplefonts module, none of which seem to do what I want... Could you enlighten me? Many thanks, Severin \definefontfeature[jpdefault][mode=node,script=hang,lang=jap] \def\mydefaultfeatures{kern=yes;liga=yes;tlig=yes;trep=yes} \def\mysmallcapsfeatures{\mydefaultfeatures;smcp=yes} % Font fallbacks for Latin alphabet \definefontfallback[serifwhatever][gentium:\mydefaultfeatures][0x0000-0x0400][force=yes] \definefontfallback[serifboldwhatever][gentiumbasicbold:\mydefaultfeatures][0x0000-0x0400][force=yes] \definefontfallback[serifitalicwhatever][gentiumitalic:\mydefaultfeatures][0x0000-0x0400][force=yes] \definefontfallback[serifbolditalicwhatever][gentiumbasicbolditalic:\mydefaultfeatures][0x0000-0x0400][force=yes] \definefontfallback[serifboldslantedwhatever][gentiumbasicbold:\myslantfeatures][0x0000-0x0400][force=yes] \definefontfallback[serifcapswhatever][gentium:\mysmallcapsfeatures][0x0000-0x0400][force=yes] \definefontfallback[sanswhatever][andikabasic:\mydefaultfeatures][0x0000-0x0400][force=yes] % IPA Fonts \starttypescript[serif][IPAexMincho] \definefontsynonym[ipaexmincho][ipaexm.ttf][features=jpdefault,fallbacks=serifwhatever] \stoptypescript \starttypescript[serif][IPAexMincho][name] \definefontsynonym[Serif][ipaexmincho] \stoptypescript \starttypescript[sans][IPAexGothic] \definefontsynonym[ipaexgothic][ipaexg.ttf][features=jpdefault,fallbacks=sanswhatever] \stoptypescript \starttypescript[sans][IPAexGothic][name] \definefontsynonym[Sans][ipaexgothic] \stoptypescript \starttypescript[mono][KanjiStrokeOrders] \definefontsynonym[kanjistrokeorders][KanjiStrokeOrders_v2.015.ttf][features=jpdefault,fallbacks=monowhatever] \stoptypescript \starttypescript[mono][KanjiStrokeOrders][name] \definefontsynonym[Mono][kanjistrokeorders] \stoptypescript \starttypescript[MyIPAex] \definetypeface[Myface][rm][serif][IPAexMincho] \definetypeface[Myface][ss][sans] [IPAexGothic] \definetypeface[Myface][tt][mono] [KanjiStrokeOrders] \stoptypescript ___________________________________________________________________________________ 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 ___________________________________________________________________________________