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_SIGNED,DKIM_VALID, DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE, 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 B099922BE4 for ; Mon, 4 Nov 2024 02:39:28 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 663FA484E5F for ; Mon, 4 Nov 2024 02:36:49 +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-type:content-type:list-unsubscribe:list-subscribe :list-post:list-owner:list-help:list-archive:archived-at:list-id :subject:subject:reply-to:precedence:from:from:content-language :user-agent:mime-version:date:date:message-id:received:received :received:received:received:received; s=cgl; t=1730684209; x= 1733276210; bh=VvvsbxtYCsq2bFuz8qgfipUHVXb8qkJYXiAZuh/DdQ4=; b=g l+jJTBeJu8xkBiqakB2MFG/LNzJ9XwpecWDSOqLPjyA/QU8+xyKXssuiFGVvc6mT UCkDZm5i7lWKVnjrCzrRw6QsBj9YfabYC7kV018szhrqyTHmbWtuDYM3H3mL/y+Y zNJ5xrvKcw34UUtACZDGqwUk7ymFwotTFUmEGbxMDw= 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 1vT3kEwnf_Gd for ; Mon, 4 Nov 2024 02:36:49 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id C9E4B484B35 for ; Mon, 4 Nov 2024 02:35:33 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id E1F62484B19 for ; Mon, 4 Nov 2024 02:34:47 +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 s2qoriOvSn9I for ; Mon, 4 Nov 2024 02:34:47 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=166.84.1.89; helo=mailbackend.panix.com; envelope-from=context@rik.users.panix.com; receiver= Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) (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 cgl.ntg.nl (Postfix) with ESMTPS id 69A38484B16 for ; Mon, 4 Nov 2024 02:34:46 +0100 (CET) Received: from [192.168.5.71] (syn-024-194-002-237.res.spectrum.com [24.194.2.237]) by mailbackend.panix.com (Postfix) with ESMTPSA id 4XhYtF6Cl9z43jg for ; Sun, 3 Nov 2024 20:34:45 -0500 (EST) Message-ID: <9169ea95-51e5-4fd3-ae09-076037570800@rik.users.panix.com> Date: Sun, 3 Nov 2024 20:34:45 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Beta To: ntg-context mailing list Content-Language: en-US From: Rik Kabel Message-ID-Hash: RTHBYC6NOCPUDEZX6R3WIQUWO7N3IDFO X-Message-ID-Hash: RTHBYC6NOCPUDEZX6R3WIQUWO7N3IDFO X-MailFrom: ConTeXt@rik.users.panix.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 X-Mailman-Version: 3.3.9 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] 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: multipart/mixed; boundary="===============5431617868802297044==" This is a multi-part message in MIME format. --===============5431617868802297044== Content-Type: multipart/alternative; boundary="------------t5tyCsfdgsWsiCtdtlTKyHrO" Content-Language: en-US This is a multi-part message in MIME format. --------------t5tyCsfdgsWsiCtdtlTKyHrO Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable In a paper I recently wrote I noticed some ugly zigzag alignment on the=20 left margin of one paragraph (set with Libertinus) where a couple of=20 book titles appeared at the start of the second and fourth lines. The=20 following example demonstrates the issue. \definefontfeature [default] =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [default] =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [protrusion=3Dquality,expansion=3D= quality] \setupalign=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [hz,hanging] \startbuffer Here is a line of text, the first sentence in the demonstration.\\ {\em Then} the next sentence in the paragraph follows.\\ You can see that the italic {\em T} appears to be a bit indented.\\ {\em There } might be a way to shift it to the left that little bit.\= \ Perhaps a protrusion setting.\\ {\em This} does appear to depend to on the font used. With Modern and= \\ Libertinus it is worse, with Times a bit better. \blank \stopbuffer \starttext Modern\\ \getbuffer Times\\ \setupbodyfont[times] \getbuffer Libertinus\\ \setupbodyfont[libertinus] \getbuffer \stoptext How can one set a small left-margin protrusion for the italic T and=20 possibly other characters? I know it is a small issue, but once seen it=20 is hard to un-see. --=20 Rik --------------t5tyCsfdgsWsiCtdtlTKyHrO Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

In a paper I recently wrote I noticed some ugly zigzag alignment on the left margin of one paragraph (set with Libertinus) where a couple of book titles appeared at the start of the second and fourth lines. The following example demonstrates the issue.

\definefontfeature [default]
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [default]
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [protrusion=3Dquality,expan= sion=3Dquality]
\setupalign=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [hz,hangi= ng]

\startbuffer
Here is a line of text, the first sentence in the demonstration.\\
{\em Then} the next sentence in the paragraph follows.\\
You can see that the italic {\em T} appears to be a bit indented.\\
{\em There } might be a way to shift it to the left that little bit.\\
Perhaps a protrusion setting.\\
{\em This} does appear to depend to on the font used. With Modern and\\
Libertinus it is worse, with Times a bit better.
\blank
\stopbuffer

\starttext
Modern\\
\getbuffer
Times\\
\setupbodyfont[times]
\getbuffer
Libertinus\\
\setupbodyfont[libertinus]
\getbuffer
\stoptext

How can one set a small left-margin protrusion for the italic T and possibly other characters? I know it is a small issue, but once seen it is hard to un-see.

--
Rik

--------------t5tyCsfdgsWsiCtdtlTKyHrO-- --===============5431617868802297044== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============5431617868802297044==--