From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/110591 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mohammad Hossein Bateni Newsgroups: gmane.comp.tex.context Subject: set fallback in \definefont Date: Mon, 15 Feb 2021 14:47:41 -0500 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5799920657656142574==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37676"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Feb 15 20:48:45 2021 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lBjrQ-0009gI-OI for gctc-ntg-context-518@m.gmane-mx.org; Mon, 15 Feb 2021 20:48:44 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8F761280A65; Mon, 15 Feb 2021 20:47:58 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8dBGFf4ZKFTt; Mon, 15 Feb 2021 20:47:56 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 41D80280137; Mon, 15 Feb 2021 20:47:56 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4A8D8280137 for ; Mon, 15 Feb 2021 20:47:55 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JHhV1TVx9DNg for ; Mon, 15 Feb 2021 20:47:54 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.219.172; helo=mail-yb1-f172.google.com; envelope-from=bateni@gmail.com; receiver= Original-Received: from mail-yb1-f172.google.com (mail-yb1-f172.google.com [209.85.219.172]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 9F4B7280004 for ; Mon, 15 Feb 2021 20:47:54 +0100 (CET) Original-Received: by mail-yb1-f172.google.com with SMTP id d184so8301413ybf.1 for ; Mon, 15 Feb 2021 11:47:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=DDFnrQtsktM7kiS5RmBmBBosMTmjoRfmm4vpmnGIb3g=; b=okcMli/pSRJVpytSGyDRBHSAkiw3UoNQstx6d5/4k4TGulpoiloQPVFxzz/FqGG2FC FirExfDBeIiNPnXK9SJiNr3uILh65T7Mt0keKsDSOAHwz0w1CMaouQKye55VdMz4OhF0 F2zu+ns83hmh9piH1o/QNPdvtdTkHR3qFGD9k9InHXi1aSseZC09JktfK2JgKD4jeVpN RLRYJIrB/y+DOnWOuJxdD1gpBj5qdghv8rmvsKpv181vgk53uylHy+ATA6YE7oPhOZJo +Bn8PuPHwglzjmO8E6KLmbMtswp0V4ql3r/dugzxsNKX8/nEJWPw1dmJEJyvlHsJghPl 6XJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=DDFnrQtsktM7kiS5RmBmBBosMTmjoRfmm4vpmnGIb3g=; b=jMO9hBjWhySUhjn7Bzgyfigh4PM1NwpEU4+/R6p3GLm5g3KB7LJBzndpIwAlRiiNri eOTTwTLACMqnK5PuK8fb1DDvecqJwtADYyyRdULxwQV3O+yKk2WouMcbW03eD2h6Fcue 9+Cq8Ew2vX3pVe+DLoZLa8tAcyn+eS4r62kLg2HfCSKzeejf3n6lY9b0Q/sCcmGHkrNS JwKJte1pdmq0JnnRrNSbNPPnKXAiTVNTSRxPBjOmbgZy+Yos5Hbsv4Id1wVG5IssPgaZ 8xy3KFKrZPKf1LNjcar0fKdbNABba3keywg9Zt/xq7gTdXAxwdmVvzBKXrvNHTQSmy0+ uYLQ== X-Gm-Message-State: AOAM533BS1/zjoXAOdcrkVYOxWNASNpPCibmZkmhf17GDUIKFZdePYC+ g4HSxlWWtlyw37Q+EcbZ0/Lk1fSkoN6G0o8i3IEoEEnt X-Google-Smtp-Source: ABdhPJwSrQ7smMVTVqNTSXOGFWn83yNNBB3TulC0VPJwh3H89C8saTryEDBx+U4IfWO56OciEmpUZIYKrNA7nOrVnK0= X-Received: by 2002:a25:7585:: with SMTP id q127mr25267416ybc.216.1613418472801; Mon, 15 Feb 2021 11:47:52 -0800 (PST) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:110591 Archived-At: --===============5799920657656142574== Content-Type: multipart/alternative; boundary="000000000000f2096905bb6542df" --000000000000f2096905bb6542df Content-Type: text/plain; charset="UTF-8" Hi, Is there a way to set the fallback for fonts when we define them not as a typescript but using \definefont? \definefont[MyFont][Font.otf*MyFeatures] Is there a default fallback one can specify? Is simplefonts module deprecated or discouraged now? When we define a font via typescript commands, we can specify rm, ss, tt, mm, hw and cg shapes for it. Can we add arbitrary styles? For example, I would use this for quotations, headings, etc. Currently, I either have to spare ss or use \definefont for such scenarios. Thanks, --MHB --000000000000f2096905bb6542df Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

Is there a way to set the fallback = for fonts when we define them not as a typescript but using \definefont?

\definefont[MyFont][Font.otf*MyFeatures]
<= br>
Is there a default fallback one can specify?
Is sim= plefonts module deprecated=C2=A0or discouraged now?

When we define a font via typescript commands, we can specify=C2=A0rm, ss= , tt, mm, hw and cg shapes for it.=C2=A0 Can we add arbitrary styles?=C2=A0= For=C2=A0example, I would use this for quotations, headings, etc.=C2=A0 Cu= rrently, I either have to spare ss or use \definefont for such scenarios.

Thanks,
--MHB
--000000000000f2096905bb6542df-- --===============5799920657656142574== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============5799920657656142574==--