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, HTML_MESSAGE,MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE,URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 27404 invoked from network); 16 May 2023 01:37:27 -0000 Received: from zapf.ntg.nl (5.39.185.232) by inbox.vuxu.org with ESMTPUTF8; 16 May 2023 01:37:27 -0000 Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A85BE1C2FB3; Tue, 16 May 2023 03:37:06 +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 YMbgwx5T1XmU; Tue, 16 May 2023 03:37:04 +0200 (CEST) Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A6AC81C25E2; Tue, 16 May 2023 03:37:02 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 1EC521C2EC7 for ; Tue, 16 May 2023 03:36:59 +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 KjdDPa4Nxaan for ; Tue, 16 May 2023 03:36:57 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.128.181; helo=mail-yw1-f181.google.com; envelope-from=liyanrui.m2@gmail.com; receiver= Received: from mail-yw1-f181.google.com (mail-yw1-f181.google.com [209.85.128.181]) (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 zapf.ntg.nl (Postfix) with ESMTPS id 4025DB7E for ; Tue, 16 May 2023 03:36:56 +0200 (CEST) Received: by mail-yw1-f181.google.com with SMTP id 00721157ae682-55a6efe95c9so191747177b3.1 for ; Mon, 15 May 2023 18:36:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684201015; x=1686793015; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=Of3mYbrByIDS/I/RzmyCpPncu+QZP0u5OPt1VFGZcz4=; b=Hp1baQWitOCGDVx6ah9KNQiBvwE2KTTewq8YLGIYDnEpt/ED+1xeL9BgyZVz2GRSkZ Qzkg2SvqRzTfQ4SfLKrwwTvbRELi217JFN4Ll/puwwA429AdLqbfAi3ushDwFbe0B5EM x/ru2b8cpXvSfIDIm4xOlMI4bzLd33R84Tj8R4RnD5/MpxPHc9BVTvqzHiUVVyXKh96H xDOVvyrRJJtXwlifP7NhwwTyKH8EhwfOhW7rNzOJKGXTQHT/8Z8qJo+q6vkuU/K8R6xy q7UMbkx3D9nLLgNdBYJvezNGY/1v9VIbian7Z9ESOhB2INU8KAZvIlWOhbvbPPpUqBvc uVnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684201015; x=1686793015; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Of3mYbrByIDS/I/RzmyCpPncu+QZP0u5OPt1VFGZcz4=; b=Lqll0eqB1QnDKSkfxiSWFfYoRkld6Iza3MooNCuStCf4ZV2yE9ymo1sG2m+7E0vUQJ Kp3+EslwzUx/3zO7f9k4vSc2p9mfB+pT8sf+AXYd4xoq2t7dGVvWUbr0n89MG550HzBq S4NdLQOYO3GlEySY3Kd/QWFIKlRMmEY0Rg3KmDWFumTQGiUUn2kqAqHZW4LKxUKRbrbB E/UGUImW/Zu8mmonHz7EkXo8zBSUB60+QGONogafi9trpnV025HAyNDo+1GAkgl6IiXS xRH4xY8ddEueGLmt1u/YoyD+lJFmefLuvv6rlt16Xeomo3Eg9tBSu33R8hheEcnj+LBe 2sKA== X-Gm-Message-State: AC+VfDy34NXGjSoZWA4SObKV6JFIIbAuMNRgPx1gf/jl2WNLMyElnqev kMzu1E3wTLX3ZEPJKFtkPB4hH9YjsYeNc4CE/KJMnvP59+dxaA== X-Google-Smtp-Source: ACHHUZ6pP3xew6qB/yf5oyqCgx3CW1AOMmFKtdzxwElgFVn3XydK9Mms4VQCrviVW0VBolrYaOtfnYKwF4UpXTBqkhM= X-Received: by 2002:a81:6c14:0:b0:561:1aa7:8878 with SMTP id h20-20020a816c14000000b005611aa78878mr11623068ywc.29.1684201015021; Mon, 15 May 2023 18:36:55 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 16 May 2023 09:36:43 +0800 Message-ID: To: mailing list for ConTeXt users Subject: Re: [NTG-context] Flushright problems with Japanese 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: =?utf-8?b?TGkgWWFucnVpICjmnY7lu7bnkZ4pIHZpYSBudGctY29udGV4dA==?= Reply-To: mailing list for ConTeXt users Cc: =?UTF-8?B?TGkgWWFucnVpICjmnY7lu7bnkZ4p?= Content-Type: multipart/mixed; boundary="===============1995727416361095477==" Errors-To: ntg-context-bounces@ntg.nl Sender: "ntg-context" --===============1995727416361095477== Content-Type: multipart/alternative; boundary="0000000000003b152805fbc59b4f" --0000000000003b152805fbc59b4f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Gerben Wierda via ntg-context =E4=BA=8E2023=E5=B9=B45= =E6=9C=8815=E6=97=A5=E5=91=A8=E4=B8=80 16:43=E5=86=99=E9=81=93=EF=BC=9A > When I use flushright, my Japanese characters get widely spaced as if > flushing right doesn't work > > Minimal example: > > % =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D > \definefallbackfamily > [archimate] > [ss] > [Hiragino Sans] > [preset=3Drange:japanese, > tf=3Dstyle:W3, > it=3Dstyle:W3, > bf=3Dstyle:W5, > bi=3Dstyle:W5, > force=3Dyes] > > \definefontfamily [archimate] [ss] [Optima] > > \setupbodyfont[archimate] > > \startsetups [japanese] > \setscript [nihongo] > \stopsetups > \setuplanguage [ja] [setups=3Djapanese] > \mainlanguage [ja] > > \starttext > \setupindenting[none] > \setupindenting[no] > \framed[width=3D\textwidth,frame=3Doff,align=3Dflushleft]{=E4=BD=9C=E5=9B= =B3=EF=BC=9AA bit of text} > \framed[width=3D\textwidth,frame=3Doff,align=3Dflushright]{=E4=BD=9C=E5= =9B=B3=EF=BC=9AA bit of text} > \framed[width=3D\textwidth,frame=3Doff,align=3Dflushright]{=E4=BD=9C=E5= =9B=B3: A bit of text} > \framed[width=3D\textwidth,frame=3Doff]{=E4=BD=9C=E5=9B=B3: A bit of text= } > \stoptext > % =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D > > Hi, You can try `align=3D{flushright,broad}'. --=20 Best regards, Li Yanrui --0000000000003b152805fbc59b4f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
Gerben Wierda via ntg-context <ntg-context@ntg.nl> =E4=BA=8E2023= =E5=B9=B45=E6=9C=8815=E6=97=A5=E5=91=A8=E4=B8=80 16:43=E5=86=99=E9=81=93=EF= =BC=9A
When I use flushright, my Japanese ch= aracters get widely spaced as if flushing right doesn't work
=
Minimal example:

% =3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D
=C2=A0\definefallbackfamily
=C2=A0 [archimate]
=C2=A0 [ss]=C2=A0 [Hiragino Sans]
=C2=A0 [preset=3Drange:japanese,
=C2=A0 =C2= =A0tf=3Dstyle:W3,
=C2=A0 =C2=A0it=3Dstyle:W3,
=C2=A0 =C2=A0bf=3Dstyle= :W5,
=C2=A0 =C2=A0bi=3Dstyle:W5,
=C2=A0 =C2=A0force=3Dyes]

\de= finefontfamily=C2=A0[archimate] [ss] [Optima]

\setupbodyfont[archima= te]

\startsetups=C2=A0[japanese]
=C2=A0=C2=A0\setscript=C2=A0[nih= ongo]
\stopsetups
\setuplanguage=C2=A0[ja] [setups=3Djapanese]
\ma= inlanguage=C2=A0[ja]

\starttext
\setupindenting[none]
\setupin= denting[no]
\framed[width=3D\textwidth,frame=3Doff,align=3Dflushleft]{= =E4=BD=9C=E5=9B=B3=EF=BC=9AA bit of text}
\framed[width=3D\textwidth,fra= me=3Doff,align=3Dflushright]{=E4=BD=9C=E5=9B=B3=EF=BC=9AA bit of text}
\= framed[width=3D\textwidth,frame=3Doff,align=3Dflushright]{=E4=BD=9C=E5=9B= =B3: A bit of text}
\framed[width=3D\textwidth,frame=3Doff]{=E4=BD=9C=E5= =9B=B3: A bit of text}
\stoptext
% =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

<= /blockquote>

Hi,

You can try `a= lign=3D{flushright,broad}'.

--
Best regards,

Li Yanrui
--0000000000003b152805fbc59b4f-- --===============1995727416361095477== 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://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 ___________________________________________________________________________________ --===============1995727416361095477==--