From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 4378 invoked from network); 18 Apr 2023 15:39:52 -0000 Received: from zapf.ntg.nl (5.39.185.232) by inbox.vuxu.org with ESMTPUTF8; 18 Apr 2023 15:39:52 -0000 Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 7EE7F13BD; Tue, 18 Apr 2023 17:39:25 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.ntg.nl 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 y-n6oc4Xsmmq; Tue, 18 Apr 2023 17:39:24 +0200 (CEST) Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 88F9FFDC; Tue, 18 Apr 2023 17:39:24 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id AB16BFDC for ; Tue, 18 Apr 2023 17:39:23 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.ntg.nl 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 Y2Hp-mj9IRWQ for ; Tue, 18 Apr 2023 17:39:21 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=185.233.34.18; helo=outbound.soverin.net; envelope-from=j.hagen@freedom.nl; receiver= Received: from outbound.soverin.net (outbound.soverin.net [185.233.34.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id D32FBF45 for ; Tue, 18 Apr 2023 17:39:21 +0200 (CEST) Received: from smtp.freedom.nl (c04smtp-lb01.int.sover.in [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 4Q17Q13fKCz7h for ; Tue, 18 Apr 2023 15:39:21 +0000 (UTC) Received: from smtp.freedom.nl (smtp.freedom.nl [10.10.4.107]) by freedom.nl (Postfix) with ESMTPSA id 4Q17Q11dM6z78 for ; Tue, 18 Apr 2023 15:39:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freedom.nl; s=default; t=1681832361; bh=JldYrOv1mwh1mFH2ySgzCU2VhToPq7PCcmHgHCyU2BA=; h=Date:Subject:To:References:From:In-Reply-To:From; b=Uj0Y49QEh6CO44rq04+gN43AovS2Llk6pbluIEb2XuZG9b+T7NCfRO8ir08LiSwq2 e7OqdiUr1r4tGgmBJ4OCw7nwKrc0OGnaO5ML7pRUMKxrwJ6SEQtUHVUt29ruPYCGmT rMZVNYlntrFY3dZNPbxCEJ6c8oy1PBfYR2dwnH50= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freedom.nl; s=default; t=1681832361; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CEwLTnp6iV/LODOU9k0vpxec7G4YanhTRL09iJeWs54=; b=UsA3epcQJ2dAjtAjTyx5SVB7UOk4phTpLK1XqlRdZuaOuuG0qLA6ds2UuW9LX+j/Rl63fm 68bR9sqA0glWBBW1pEJvhBUR6vbujFM2gREbRk+nWYI+OQRYIP+orolyJuLMz76qbsM3BF i7CucijVUOyUqACxgcDDlxpa8mxSP+M= ARC-Authentication-Results: i=1; smtp.freedom.nl; auth=pass smtp.mailfrom=j.hagen@freedom.nl ARC-Seal: i=1; s=default; d=freedom.nl; t=1681832361; a=rsa-sha256; cv=none; b=Sdbzw5ZTxl13nwA07ChLEeaJ+iPltNgvOLJ9Xa05aBqQPpsjNs/lg6GGzbg4vppw1iIh4u EzYhrGFTvbA9RolHtymvib7Pzae4DYKy0tnVnvwVuIFaftG+LbgsLnYohUkKu/CeK1qlOW ZzTXBrRVkvo/7TVJ2gcFK9KpIxJ9PpA= Message-ID: <7cab8e88-c9ca-7170-8d94-d9ed648f8c13@freedom.nl> Date: Tue, 18 Apr 2023 17:39:21 +0200 MIME-Version: 1.0 Content-Language: en-US To: ntg-context@ntg.nl References: X-Soverin-Authenticated: true In-Reply-To: Subject: Re: [NTG-context] Google's Roboto Flex font typescript and goodies definition. X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.38 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Hans Hagen via ntg-context Reply-To: mailing list for ConTeXt users Cc: Hans Hagen Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ntg-context-bounces@ntg.nl Sender: "ntg-context" On 4/18/2023 3:52 PM, Pawel Urbanski via ntg-context wrote: > Hi Hans, > I will write what I want to acomplish. While it is definitely thrivial, > I'm either missing something obvious or more experienced users suffer > from the curse of knowledge. > > I want ot use Roboto Flex for my chapter and section heads with Garamond > Premier for the body contents. > > I followed the Context wiki example and consistant examples from the web. > > Here is my code: > \usemodule[fonts-variable] > \definefontfamily[roboto-flex][ss][rotoboflex] > % robotoflex.ttf is the recognized font file name. > \setuphead[chapter] > [style={\switchtobodyfont[roboto-flex,20pt]\ss}] > > While the Garamond is embedded and text is styled, the chapter tible is > typeset with Garamond not Roboto. > > Any hints or feed back will be very appriciated. \usetypescriptfile[ebgaramond] \starttypescript [sans] [robotoflex] \setups[font:fallback:sans] \definefontsynonym [Sans] [name:robotoflexregular] \definefontsynonym [SansItalic] [name:robotoflexregularitalic] \definefontsynonym [SansBold] [name:robotoflexregularbold] \definefontsynonym [SansBoldItalic][name:robotoflexregularbolditalic] \stoptypescript \starttypescript[robocop] \definetypeface [\typescriptone] [rm] [serif] [ebgaramond] [default] \definetypeface [\typescriptone] [ss] [sans] [robotoflex] [default] \definetypeface [\typescriptone] [tt] [mono] [dejavu] [default] [rscale=0.8] \definetypeface [\typescriptone] [mm] [math] [ebgaramond] [default] \stoptypescript \setupbodyfont[robocop] \setuphead[chapter][style=\ssbfd] \starttext \startchapter[title=Whatever] \input tufte \stopchapter \page \usemodule[fonts-variable] \showfontvariations[font=file:robotoflex.ttf] \stoptext ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________