From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from cgl.ntg.nl (Cgl.ntg.nl [5.39.185.202]) by inbox.vuxu.org (Postfix) with ESMTP id D295C2B6DC for ; Mon, 4 Nov 2024 16:58:33 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 72FF4484FF9 for ; Mon, 4 Nov 2024 16:55:58 +0100 (CET) Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=ntg.nl DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntg.nl; h= content-transfer-encoding:content-type:content-type :list-unsubscribe:list-subscribe:list-post:list-owner:list-help :list-archive:archived-at:list-id:subject:subject:reply-to :precedence:content-language:in-reply-to:mime-version:user-agent :date:date:message-id:from:from:references:received:received :received:received:received:received:received; s=cgl; t= 1730735758; x=1733327759; bh=V/JR70O2+liRlJk7g8HT+Otkr2/Fkx6zOKg Tni6lP+c=; b=rqLsCMMa2Rn+tpTElmAv3MwIl2ELwbvNo8/+qYfKdpWMtumEbAP yjrKjDRgi73ZgYEQhW39jYIQ3dsqXsS1mOcfZ2ARLnhnWJYqED0gVayh8oox3HXD hs1uxtTRq1boYE+IuIoMivwvMYymreH1WWl304kllzg1oJ18RIxbNfro= X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=gmail.com Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CQHs1tBrnlpf for ; Mon, 4 Nov 2024 16:55:58 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id C3442484C49 for ; Mon, 4 Nov 2024 16:55:32 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 723D3483EBF for ; Mon, 4 Nov 2024 16:55:08 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Cxj_xIXdzvYg for ; Mon, 4 Nov 2024 16:55:08 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.208.51; helo=mail-ed1-f51.google.com; envelope-from=wolfgang.schuster.lists@gmail.com; receiver= Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id 2066A483C13 for ; Mon, 4 Nov 2024 16:55:08 +0100 (CET) Received: by mail-ed1-f51.google.com with SMTP id 4fb4d7f45d1cf-5cec8c4e2f6so2557820a12.1 for ; Mon, 04 Nov 2024 07:55:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730735708; x=1731340508; darn=ntg.nl; h=content-language:content-transfer-encoding:in-reply-to:mime-version :user-agent:date:message-id:from:cc:references:to:subject:from:to:cc :subject:date:message-id:reply-to; bh=xHDPYixB0RPH9tKXlmoYTheNevFR0McoxmAnVJa+knc=; b=AZrOk0UwV2HG3Mi0r17nNZsWNJMrrCCVBJQd6I2r6hT/Zp0ldsQstSyGYeTR9lvyWW r9ObS0UBrYF8kBwjx7Xy9AJAaPm/E/JP7D8KPWre645IPrwF3517Gszt4yRCYCehcukh Xa+eLdxnL1s1aQfdlcHnLadT6TZSw3ywktHSVFxzqxpWcy4J3HgUi7ooZHXUxtJPlT9I cmoTZWz1ZKDojbszSNweZpwDo32n7X2UwGM1GC9ThJb9jfDcO0M+tJTmddf7bo9vgqjS +lDS9/lx8RDsSyPkU9KPYzuKR7UIG9/nm2aG6aBSaKdnzdmQQufISpVuFalyyCHjXhu9 mNUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730735708; x=1731340508; h=content-language:content-transfer-encoding:in-reply-to:mime-version :user-agent:date:message-id:from:cc:references:to:subject :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=xHDPYixB0RPH9tKXlmoYTheNevFR0McoxmAnVJa+knc=; b=YY1Gji+g/1OoUmWAylR/O4jep3L9DMtPO3CZ32z22nl/BeRn9sFORI6pC++bgFXdrZ a+jrT2j8j6rZeTXmOiG2JHPlSkUEfHLXlfk3wEOiOW7iShchVEt5MLEK+XAWIbGhHGvZ 6INJjDuXerRQPnzs5cUdYfLkCtQOQpboydcHfWOBnUMrOSEOMRZNFBwCDJtT0XFyt/rH uzGpdwqTxuH5gebPiOaPe1BjhhydrDZu490JGSZXRV3g1S2oIZp9Ufu6oL/eGU1x0GGJ aP+D96J+dxcIlYWngl77vHKL3ue8FYoxA9S1r4nOzvammnYfbNSbrzZAioyYJ8rZ2bki cvOQ== X-Gm-Message-State: AOJu0YxjIxfHqkxlTES/ubdyVRPYzKmLSTIptQVjs6BLtEp0qLKtw24S 3CEbPO4NULRram6XGn0Jon9cRIbtLWhOuSaUvUfIz4G/wwhDoTm6FAopIg== X-Google-Smtp-Source: AGHT+IHGU6pFDsNQl0n5jvSjxx89LpUqP1eSFTMYB2+RPC+SbhtjhFCpCxDN3Do4OKUkIYdv8oVRFw== X-Received: by 2002:a05:6402:26c8:b0:5cb:67e2:809a with SMTP id 4fb4d7f45d1cf-5ceb924124emr9851700a12.1.1730735707305; Mon, 04 Nov 2024 07:55:07 -0800 (PST) Received: from ?IPv6:2a02:810d:a8bf:e1a8:fd4c:bf68:b8de:f300? ([2a02:810d:a8bf:e1a8:fd4c:bf68:b8de:f300]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5ceac7ca7a0sm4515293a12.64.2024.11.04.07.55.05 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Nov 2024 07:55:06 -0800 (PST) To: mailing list for ConTeXt users References: <9169ea95-51e5-4fd3-ae09-076037570800@rik.users.panix.com> From: Wolfgang Schuster Message-ID: Date: Mon, 4 Nov 2024 16:55:04 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 PostboxApp/7.0.64 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Message-ID-Hash: KJCDDJYFB2CFUKZLQODTKBA6L3NBJOSV X-Message-ID-Hash: KJCDDJYFB2CFUKZLQODTKBA6L3NBJOSV X-MailFrom: wolfgang.schuster.lists@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Rik Kabel , Mikael Sundqvist X-Mailman-Version: 3.3.9 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: Zigzag left margin with italics List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii"; format="flowed" Content-Transfer-Encoding: 7bit Mikael Sundqvist schrieb am 04.11.2024 um 07:35: > Hi, > > You can try this below (from test suite), but then, as you see, also > upright T will move out. Not sure how/if you can control that. > > \startluacode > > local classes = fonts.protrusions.classes > local vectors = fonts.protrusions.vectors > > classes.rik = { > vector = 'rik', > factor = 1, > } > > vectors.rik = table.merged ( > vectors.quality, > { > [0x0054] = { 0.35, 0 }, -- T > }) > > \stopluacode > > \definefontfeature > [default] > [default] > [protrusion=rik,expansion=quality] Define a feature which sets only the custom protrusion values: \definefontfeature [rik] [protrusion=quality] and create a new typeface where you apply the new feature to the italic/slanted style: \definefontfamily [riktimes] [rm] [TeX Gyre Termes] [sl=features:{default,rik}] Afterwards use \seupbodyfont[riktimes] to access the new typeface. Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________